mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
move 'player.noclip' and 'player.flight' handlers to Lua
This commit is contained in:
parent
9164edf971
commit
3d33de502d
6 changed files with 58 additions and 43 deletions
|
|
@ -288,8 +288,6 @@ void PlayerController::updateKeyboard() {
|
|||
input.jump = Events::active(BIND_MOVE_JUMP);
|
||||
input.zoom = Events::active(BIND_CAM_ZOOM);
|
||||
input.cameraMode = Events::jactive(BIND_CAM_MODE);
|
||||
input.noclip = Events::jactive(BIND_PLAYER_NOCLIP);
|
||||
input.flight = Events::jactive(BIND_PLAYER_FLIGHT);
|
||||
}
|
||||
|
||||
void PlayerController::resetKeyboard() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue