mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
fixed high cpu usage caused by spawning stupid amounts of script objects each tick
This commit is contained in:
@@ -40,7 +40,7 @@ namespace FFXIVClassic_Map_Server
|
||||
|
||||
private Server mServer;
|
||||
|
||||
private const int MILIS_LOOPTIME = 10;
|
||||
private const int MILIS_LOOPTIME = 333;
|
||||
private Timer mZoneTimer;
|
||||
|
||||
//Content Groups
|
||||
@@ -1017,6 +1017,7 @@ namespace FFXIVClassic_Map_Server
|
||||
Program.Tick = DateTime.Now;
|
||||
foreach (Zone zone in zoneList.Values)
|
||||
zone.Update(Program.Tick);
|
||||
Program.LastTick = Program.Tick;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user