pausa & readme hotfix

This commit is contained in:
alexei-zebra 2023-11-11 18:47:41 +03:00
parent f182d30f14
commit a9193ae4d9
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,6 @@
- <kbd>**RMB**</kbd> - place block
- <kbd>**F**</kbd> - toggle flight mode
- <kbd>**N**</kbd> - noclip mode
- <kbd>**Esc**</kbd> - exit
#### Build with CMake
```sh

View File

@ -39,7 +39,8 @@ Level::~Level(){
}
void Level::update(float delta, bool updatePlayer, bool interactions) {
playerController->update_controls(delta, updatePlayer);
if (updatePlayer)
playerController->update_controls(delta, updatePlayer);
if (interactions) {
playerController->update_interaction();
}