mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-30 22:36:11 +02:00
cleaned up some of my retard with deltaTime and changed to DateTime for convenience swapping between seconds/milliseconds
This commit is contained in:
parent
3bcaa4cc3e
commit
b9bfe5e985
9 changed files with 27 additions and 20 deletions
|
@ -368,15 +368,15 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
zone.BroadcastPacketAroundActor(this, ChangeSpeedPacket);
|
||||
}
|
||||
|
||||
public void Update(double deltaTime)
|
||||
public void Update(DateTime tick)
|
||||
{
|
||||
if (this is Character)
|
||||
{
|
||||
((Character)this).Update(deltaTime);
|
||||
((Character)this).Update(tick);
|
||||
}
|
||||
else if (this is Zone)
|
||||
{
|
||||
((Zone)this).Update(deltaTime);
|
||||
((Zone)this).Update(tick);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue