mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 06:24:38 +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
|
@ -956,8 +956,9 @@ namespace FFXIVClassic_Map_Server
|
|||
{
|
||||
lock (zoneList)
|
||||
{
|
||||
var tick = DateTime.Now;
|
||||
foreach (Zone zone in zoneList.Values)
|
||||
zone.Update(MILIS_LOOPTIME);
|
||||
zone.Update(tick);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -978,7 +979,7 @@ namespace FFXIVClassic_Map_Server
|
|||
}
|
||||
|
||||
public Actor GetActorInWorld(uint charId)
|
||||
{
|
||||
{
|
||||
foreach (Zone zone in zoneList.Values)
|
||||
{
|
||||
Actor a = zone.FindActorInZone(charId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue