aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/keeper.cpp')
-rw-r--r--src/keeper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keeper.cpp b/src/keeper.cpp
index 61321e1..36733e3 100644
--- a/src/keeper.cpp
+++ b/src/keeper.cpp
@@ -833,6 +833,8 @@ KeeperCallResult keeper_call(Universe* U, lua_State* K, keeper_api_t func_, lua_
833 KeeperCallResult result; 833 KeeperCallResult result;
834 int const args{ starting_index ? (lua_gettop(L) - starting_index + 1) : 0 }; 834 int const args{ starting_index ? (lua_gettop(L) - starting_index + 1) : 0 };
835 int const top_K{ lua_gettop(K) }; 835 int const top_K{ lua_gettop(K) };
836 // if we didn't do anything wrong, the keeper stack should be clean
837 ASSERT_L(lua_gettop(K) == 0);
836 838
837 STACK_GROW(K, 2); 839 STACK_GROW(K, 2);
838 840