mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 16:07:12 +01:00
add clock, change exceptions, add network exceptions, fix some crashes
This commit is contained in:
@@ -545,7 +545,7 @@ void LuaInterface::createLuaState()
|
||||
// creates lua state
|
||||
L = luaL_newstate();
|
||||
if(!L)
|
||||
throw std::runtime_error("failed to create lua state");
|
||||
logFatal("Unable to create lua state");
|
||||
|
||||
// load lua standard libraries
|
||||
luaL_openlibs(L);
|
||||
|
||||
Reference in New Issue
Block a user