From 5f5ec508b09875480a7e3c8fbd9536e2aa84280d Mon Sep 17 00:00:00 2001 From: Alexey Gulev Date: Tue, 22 Feb 2022 16:49:36 +0100 Subject: [PATCH] Fix typo in DM_LUA_STACK_CHECK --- defold-spine/src/script_spine_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defold-spine/src/script_spine_gui.cpp b/defold-spine/src/script_spine_gui.cpp index 9bb6e77..5511691 100644 --- a/defold-spine/src/script_spine_gui.cpp +++ b/defold-spine/src/script_spine_gui.cpp @@ -224,7 +224,7 @@ namespace dmSpine */ static int SetSpineScene(lua_State* L) { - DM_LUA_STACK_CHECK(L, 1); + DM_LUA_STACK_CHECK(L, 0); dmGui::HScene scene = dmGui::LuaCheckScene(L); dmGui::HNode node = dmGui::LuaCheckNode(L, 1);