event handler regression

This commit is contained in:
SabinDeus 2010-09-09 04:28:37 +00:00
parent e80f696ac7
commit 43ff4d9aa0

View File

@ -258,7 +258,7 @@ function TI_IsNPCOn(npcname, type)
end
function TI_OnEvent(event)
function TI_OnEvent(self, event, ...)
if(event == "VARIABLES_LOADED") then
TI_VarInit();
if(TI_status.state) then