refactor: replace references to Events with Input

This commit is contained in:
MihailRis 2025-03-10 16:07:03 +03:00
parent 4c48afbb90
commit b202d1455b
15 changed files with 160 additions and 116 deletions

View file

@ -105,7 +105,7 @@ LevelScreen::~LevelScreen() {
}
scripting::on_frontend_close();
// unblock all bindings
Events::enableBindings();
input.getBindings().enableAll();
controller->onWorldQuit();
engine.getPaths().setCurrentWorldFolder("");
}