Changed HOOKS singleton to register itself with lua correctly so that it can be used by lua.
This commit is contained in:
@@ -977,6 +977,7 @@ int sm_main(int argc, char* argv[])
|
||||
HOOKS->Init();
|
||||
|
||||
LUA = new LuaManager;
|
||||
HOOKS->RegisterWithLua();
|
||||
|
||||
// Initialize the file extension type lists so everything can ask ActorUtil
|
||||
// what the type of a file is.
|
||||
|
||||
Reference in New Issue
Block a user