fixed high cpu usage caused by spawning stupid amounts of script objects each tick

This commit is contained in:
Tahir Akhlaq committed 2017-07-18 04:54:05 +01:00
1 parent 53207a9ff0
commit ddad27a5f9
7 files changed
+41 -27

No files matched your search

@@ -396,8 +396,7 @@ namespace FFXIVClassic_Map_Server.Actors
public override void Update(DateTime tick)
{
var deltaTime = (tick - aiContainer.GetLatestUpdate()).Milliseconds;
LuaEngine.GetInstance().CallLuaFunction(null, this, "onUpdate", true, deltaTime);
}
//A party member list packet came, set the party