Fully working lua_Register

This commit is contained in:
Anonymous-275
2021-06-27 14:28:16 +03:00
committed by Lion Kortlepel
parent 2cfb27820a
commit 2be4b8fd91
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;