Changed HOOKS singleton to register itself with lua correctly so that it can be used by lua.

This commit is contained in:
Kyzentun Keeslala
2015-07-08 15:39:00 -06:00
parent a8e22c3e81
commit f6d369372f
3 changed files with 15 additions and 12 deletions
+1
View File
@@ -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.