mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fixed locking movement with debugwalk key
This commit is contained in:
parent
5399cadac2
commit
7ac1e5b5fb
@ -170,8 +170,10 @@ Public Class OverworldCamera
|
||||
|
||||
Public Overrides Sub Update()
|
||||
|
||||
If KeyBoardHandler.KeyPressed(KeyBindings.DebugWalkKey) = True Then
|
||||
_debugWalk = Not _debugWalk
|
||||
If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
||||
If KeyBoardHandler.KeyPressed(KeyBindings.DebugWalkKey) = True Then
|
||||
_debugWalk = Not _debugWalk
|
||||
End If
|
||||
End If
|
||||
If KeyBoardHandler.KeyPressed(KeyBindings.RunKey) = True Or ControllerHandler.ButtonPressed(Buttons.B) = True Then
|
||||
If Screen.Level.Riding = False And Screen.Level.Surfing = False And Core.Player.Inventory.HasRunningShoes = True Then
|
||||
|
Loading…
x
Reference in New Issue
Block a user