summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp')
-rw-r--r--Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
index 75d28aa..ce0efc8 100644
--- a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
+++ b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
@@ -54,7 +54,7 @@ LUA_BIND_IMPL_METHOD(ContainerWindow, ContainerWindow::_New)
LUA_BIND_STATE(L, ContainerWindow);
LUA_BIND_CHECK(L, "TNTT");
- ContainerWindow* wnd = new ContainerWindow();
+ ContainerWindow* wnd = new ContainerWindow(state.GetVM());
Rectf rect = state.GetValue<Rectf>(state, Rectf());
int showMode = state.GetValue<int>(2, 0);