Fully working lua_Register

This commit is contained in:
Anonymous-275
2021-06-27 14:28:16 +03:00
committed by Lion Kortlepel
parent a23946dddf
commit fb76b8309a
3 changed files with 21 additions and 22 deletions

View File

@@ -6,6 +6,8 @@
namespace fs = std::filesystem;
std::unordered_map<std::string, lua_State*> TLuaEngine::mGlobals;
// necessary as lua relies on global state
TLuaEngine* TheEngine;