Eluna remove crash possibility of using ReloadEluna global function on returning hooks, restrict the use of the reload command

This commit is contained in:
Rochet2
2014-06-10 23:31:57 +03:00
committed by Foereaper
parent 37a0161f29
commit 45c5c876dd
5 changed files with 30 additions and 14 deletions

View File

@@ -421,7 +421,7 @@ namespace LuaGlobalFunctions
int ReloadEluna(lua_State* L)
{
Eluna::ReloadEluna();
Eluna::reload = true;
return 0;
}