summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_srmm.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-22 01:53:49 +0300
committeraunsane <aunsane@gmail.com>2018-03-22 01:54:09 +0300
commit2a498d86625f65f6ab308fa20c421099c785bf94 (patch)
tree9c0d59f41411e46288f88ccdbde4a0d23f440720 /plugins/MirLua/src/m_srmm.cpp
parent46cded99bbfb90bea8e998e9183c20cc3e4f7365 (diff)
MirLua: various fixes
- CMLua now inherit PLUGIN - additional lua fuctions initialization moved to separated loader - ability to realod script without object recreation - scropt object should control own enable state - fix m_json whit is not workes almost at all - version bump
Diffstat (limited to 'plugins/MirLua/src/m_srmm.cpp')
-rw-r--r--plugins/MirLua/src/m_srmm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_srmm.cpp b/plugins/MirLua/src/m_srmm.cpp
index cd1562fe61..9a98755380 100644
--- a/plugins/MirLua/src/m_srmm.cpp
+++ b/plugins/MirLua/src/m_srmm.cpp
@@ -44,7 +44,7 @@ static int lua_AddButton(lua_State *L)
{
luaL_checktype(L, 1, LUA_TTABLE);
- BBButton bbb = { };
+ BBButton bbb = {};
MakeBBButton(L, bbb);
int hScriptLangpack = CMLuaEnvironment::GetEnvironmentId(L);