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…
Reference in New Issue