This commit is contained in:
MihailRis
2024-12-24 11:31:54 +03:00
parent e153e1fbd7
commit b4abecc764
8 changed files with 29 additions and 12 deletions
+3 -1
View File
@@ -157,7 +157,9 @@ void LevelScreen::updateHotkeys() {
hudVisible = !hudVisible;
}
if (Events::jpressed(keycode::F3)) {
player->debug = !player->debug;
debug = !debug;
hud->setDebug(debug);
worldRenderer->setDebug(debug);
}
}