mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fix NPCs updating too often
This commit is contained in:
parent
eff7029411
commit
241cb8af9c
@ -505,7 +505,6 @@
|
||||
Me.Rotation.Y = GetRotationFromInteger(ChangeRotation).Y
|
||||
End If
|
||||
End If
|
||||
Me.Update()
|
||||
MyBase.UpdateEntity()
|
||||
End Sub
|
||||
|
||||
|
@ -950,6 +950,10 @@ Public Class Level
|
||||
OffsetmapEntities.RemoveAt(i)
|
||||
i -= 1
|
||||
Else
|
||||
If TryCast(OffsetmapEntities(i), NPC) IsNot Nothing Then
|
||||
CType(OffsetmapEntities(i), NPC).Update()
|
||||
End If
|
||||
|
||||
OffsetmapEntities(i).UpdateEntity()
|
||||
End If
|
||||
Else
|
||||
|
Loading…
x
Reference in New Issue
Block a user