mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-30 01:05:22 +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
|
Return False
|
||||||
End Function
|
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
|
If BattleScreen.BattleMode = BattleScreen.BattleModes.Safari Then
|
||||||
Return True
|
Return True
|
||||||
End If
|
End If
|
||||||
@ -736,6 +736,10 @@
|
|||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If IsEscapeMove = True Then
|
||||||
|
Return True
|
||||||
|
End If
|
||||||
|
|
||||||
If p.Speed > op.Speed Then
|
If p.Speed > op.Speed Then
|
||||||
Return True
|
Return True
|
||||||
Else
|
Else
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user