diff options
Diffstat (limited to 'source/frontend/StarContainerInterface.cpp')
-rw-r--r-- | source/frontend/StarContainerInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarContainerInterface.cpp b/source/frontend/StarContainerInterface.cpp index 9f80a94..10da82f 100644 --- a/source/frontend/StarContainerInterface.cpp +++ b/source/frontend/StarContainerInterface.cpp @@ -34,7 +34,7 @@ ContainerPane::ContainerPane(WorldClientPtr worldClient, PlayerPtr player, Conta m_script.emplace(); m_script->setScripts(*scripts); } - m_script->addCallbacks("widget", LuaBindings::makeWidgetCallbacks(this, &m_reader)); + m_script->addCallbacks("widget", LuaBindings::makeWidgetCallbacks(this)); m_script->addCallbacks("config", LuaBindings::makeConfigCallbacks( [guiConfig](String const& name, Json const& def) { return guiConfig.query(name, def); })); |