mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Teleport doesn't fail anymore if opp is faster
This commit is contained in:
parent
7e7dae0d20
commit
b8ffdb73c3
@ -676,7 +676,7 @@
|
||||
Return False
|
||||
End Function
|
||||
|
||||
Public Shared Function CanRun(ByVal own As Boolean, ByVal BattleScreen As BattleScreen) As Boolean
|
||||
Public Shared Function CanRun(ByVal own As Boolean, ByVal BattleScreen As BattleScreen, Optional ByVal IsEscapeMove As Boolean = False) As Boolean
|
||||
If BattleScreen.BattleMode = BattleScreen.BattleModes.Safari Then
|
||||
Return True
|
||||
End If
|
||||
@ -736,6 +736,10 @@
|
||||
Return False
|
||||
End If
|
||||
|
||||
If IsEscapeMove = True Then
|
||||
Return True
|
||||
End If
|
||||
|
||||
If p.Speed > op.Speed Then
|
||||
Return True
|
||||
Else
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user