diff options
author | LaG1924 <lag1924@gmail.com> | 2021-06-13 18:20:25 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-13 18:20:25 +0200 |
commit | cc937302964a04aa8e7cdc0e6796503559efaa69 (patch) | |
tree | 3a6b890d32ed735d42f042a08c1af9637cb62b70 /src/Plugin.cpp | |
parent | Fixed Linux build of RmlUi (diff) | |
download | AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.gz AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.bz2 AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.lz AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.xz AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.zst AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.zip |
Diffstat (limited to 'src/Plugin.cpp')
-rw-r--r-- | src/Plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Plugin.cpp b/src/Plugin.cpp index 83e9bdd..d7a9820 100644 --- a/src/Plugin.cpp +++ b/src/Plugin.cpp @@ -214,6 +214,10 @@ void PluginSystem::Init() { apiTable["RegisterDimension"] = PluginApi::RegisterDimension; } +lua_State* PluginSystem::GetLuaState() { + return lua.lua_state(); +} + void PluginSystem::Execute(const std::string &luaCode, bool except) { OPTICK_EVENT(); try { |