Fixed locking movement with debugwalk key

This commit is contained in:
JappaWakka 2022-06-06 13:51:51 +02:00
parent 5399cadac2
commit 7ac1e5b5fb
1 changed files with 4 additions and 2 deletions

View File

@ -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