summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/sol2/sol/stack.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/sol2/sol/stack.hpp')
-rw-r--r--3rdparty/sol2/sol/stack.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/sol2/sol/stack.hpp b/3rdparty/sol2/sol/stack.hpp
index 5113cd8912b..b3bf6dec200 100644
--- a/3rdparty/sol2/sol/stack.hpp
+++ b/3rdparty/sol2/sol/stack.hpp
@@ -123,7 +123,7 @@ namespace sol {
}
int last = index + count;
for (int i = index; i < last; ++i) {
- lua_remove(L, i);
+ lua_remove(L, index);
}
}