1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-22 12:47:46 +00:00

More merge fixes!

This commit is contained in:
yogurt 2017-07-11 11:52:54 -05:00
parent 4dee26e136
commit 4032258e76
2 changed files with 3 additions and 2 deletions

View file

@ -393,7 +393,7 @@ namespace FFXIVClassic_Map_Server.Actors
zone.DespawnActor(this);
}
public void Update(double deltaTime)
public void Update(DateTime tick)
{
var deltaTime = (tick - aiContainer.GetLatestUpdate()).Milliseconds;
LuaEngine.GetInstance().CallLuaFunction(null, this, "onUpdate", true, deltaTime);

View file

@ -1431,6 +1431,7 @@ namespace FFXIVClassic_Map_Server.Actors
ActorPropertyPacketUtil propPacketUtil = new ActorPropertyPacketUtil("work/guildleve", this);
propPacketUtil.AddProperty(String.Format("work.guildleveDone[{0}]", slot));
propPacketUtil.AddProperty(String.Format("work.guildleveChecked[{0}]", slot));
QueuePackets(propPacketUtil.Done());
}
public void SetLoginDirector(Director director)
@ -1555,7 +1556,7 @@ namespace FFXIVClassic_Map_Server.Actors
public void EndEvent()
{
SubPacket p = EndEventPacket.BuildPacket(actorId, currentEventOwner, currentEventName);
//p.DebugPrintSubPacket();
p.DebugPrintSubPacket();
QueuePacket(p);
currentEventOwner = 0;