refactor: replace references to Events with Input

This commit is contained in:
MihailRis
2025-04-02 14:55:53 +03:00
parent 4c48afbb90
commit b202d1455b
15 changed files with 160 additions and 116 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ void Hud::update(bool visible) {
processInput(visible);
}
if ((menu.hasOpenPage() || inventoryOpen) == input.getCursor().locked) {
Events::toggleCursor();
input.toggleCursor();
}
if (blockUI) {