mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
refactor
This commit is contained in:
parent
e153e1fbd7
commit
b4abecc764
8 changed files with 29 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue