Skip to content

Commit

Permalink
pausa & readme hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-zebra committed Nov 11, 2023
1 parent f182d30 commit a9193ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/world/Level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit a9193ae

Please sign in to comment.