mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
corrected mob to use correct substate
- added global tick - stubbed some more functions - added checks for engaged/dead - todo: everything else
This commit is contained in:
parent
b9bfe5e985
commit
2c9ae60bbf
9 changed files with 131 additions and 36 deletions
|
@ -954,11 +954,12 @@ namespace FFXIVClassic_Map_Server
|
|||
|
||||
public void ZoneThreadLoop(Object state)
|
||||
{
|
||||
// todo: spawn new thread for each zone on startup
|
||||
lock (zoneList)
|
||||
{
|
||||
var tick = DateTime.Now;
|
||||
Program.Tick = DateTime.Now;
|
||||
foreach (Zone zone in zoneList.Values)
|
||||
zone.Update(tick);
|
||||
zone.Update(Program.Tick);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue