This commit is contained in:
Lion Kortlepel
2021-02-17 01:20:59 +01:00
committed by Anonymous275
parent 3dd2e1c278
commit 5759a6f80f
2 changed files with 5 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ void SendError(TLuaEngine& Engine, lua_State* L, const std::string& msg);
std::any CallFunction(TLuaFile* lua, const std::string& FuncName, std::shared_ptr<TLuaArg> Arg);
std::any TriggerLuaEvent(TLuaEngine& Engine, const std::string& Event, bool local, TLuaFile* Caller, std::shared_ptr<TLuaArg> arg, bool Wait);
static TLuaEngine* TheEngine { nullptr };
extern TLuaEngine* TheEngine;
static TLuaEngine& Engine() {
Assert(TheEngine);