Mod of Pydew Valley for an experimental study in Psychology
Creative Commons Zero v1.0 Universal
32
stars
61
forks
source link
refactor(controls): move controls to Level + make it dependent on global event loop #214
Closed
michelfinley closed 1 month ago
Summary
This PR refactors how Controls is updated by moving its main reference to Level and linking it to the global event loop.
It also fixes a bug where the inventory would instantly be opened again upon closing it with the Inventory control
Checklist
Labels
area: code-quality