mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-24 22:35:47 +02:00
Fix being able to surf when a trainer sees you
This commit is contained in:
parent
f1aeb43b75
commit
9035d28a1b
@ -141,7 +141,7 @@
|
||||
|
||||
Private Sub Surf()
|
||||
If Screen.Camera.Turning = False Then
|
||||
If Screen.Level.Surfing = False Then
|
||||
If Screen.Level.Surfing = False AndAlso CType(CurrentScreen, OverworldScreen).ActionScript.IsReady = True Then
|
||||
If Badge.CanUseHMMove(Badge.HMMoves.Surf) = True Or GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
||||
If Screen.ChooseBox.Showing = False Then
|
||||
Dim canSurf As Boolean = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user