mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-01 11:04:49 +02:00
Stop Player from animating when game paused
This commit is contained in:
parent
bda8fbc833
commit
3c21a672c0
@ -85,6 +85,7 @@
|
||||
|
||||
Private Sub Move()
|
||||
If (Screen.Camera.IsMoving() = True And Me.DoAnimation = True) OrElse (Screen.Level.OwnPlayer IsNot Nothing AndAlso Screen.Level.OwnPlayer.isDancing) Then
|
||||
If CurrentScreen.Identification <> Screen.Identifications.PauseScreen Then
|
||||
Me.AnimationDelay -= 0.13F
|
||||
If AnimationDelay <= 0.0F Then
|
||||
AnimationDelay = GetAnimationDelay()
|
||||
@ -93,6 +94,10 @@
|
||||
AnimationX = 1
|
||||
End If
|
||||
End If
|
||||
Else
|
||||
AnimationX = 1
|
||||
ChangeTexture()
|
||||
End If
|
||||
Else
|
||||
AnimationX = 1
|
||||
AnimationDelay = GetAnimationDelay()
|
||||
|
Loading…
x
Reference in New Issue
Block a user