aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/universe.cpp')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index 04db10f..3800dbb 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -85,7 +85,7 @@ void Universe::callOnStateCreate(lua_State* const L_, lua_State* const from_, Lo
85 } 85 }
86 86
87 STACK_CHECK_START_REL(L_, 0); 87 STACK_CHECK_START_REL(L_, 0);
88 DEBUGSPEW_CODE(DebugSpew(U_) << "calling on_state_create()" << std::endl); 88 DEBUGSPEW_CODE(DebugSpew(this) << "calling on_state_create()" << std::endl);
89 if (std::holds_alternative<lua_CFunction>(onStateCreateFunc)) { 89 if (std::holds_alternative<lua_CFunction>(onStateCreateFunc)) {
90 90
91 // C function: recreate a closure in the new state, bypassing the lookup scheme 91 // C function: recreate a closure in the new state, bypassing the lookup scheme