Fix shutdown crash

This commit is contained in:
Rochet2
2015-03-12 18:54:06 +02:00
parent 9452beae3d
commit a2955a3081
3 changed files with 5 additions and 3 deletions

View File

@@ -269,8 +269,9 @@ public:
}
void RunScripts();
bool GetReload() const { return reload; }
bool ShouldReload() const { return reload; }
bool IsEnabled() const { return enabled && IsInitialized(); }
bool HasLuaState() const { return L; }
void Register(uint8 reg, uint32 id, uint64 guid, uint32 instanceId, uint32 evt, int func, uint32 shots);
// Non-static pushes, to be used in hooks.