mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'entity.despawn' command
This commit is contained in:
parent
c9958c9718
commit
41a22938d6
8 changed files with 41 additions and 5 deletions
|
|
@ -241,6 +241,7 @@ void PlayerController::update(float delta, bool input, bool pause) {
|
|||
if (!pause) {
|
||||
if (input) {
|
||||
updateKeyboard();
|
||||
player->updateSelectedEntity();
|
||||
} else {
|
||||
resetKeyboard();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue