From bb74db4d28ec1760849dd9ef3244eaaa298cf423 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Fri, 8 Dec 2017 12:30:51 -0500 Subject: [PATCH] Fix error in Lua-serialization of StringListProperty --- src/properties/stringlistproperty.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/properties/stringlistproperty.cpp b/src/properties/stringlistproperty.cpp index ef137f585f..168298a8f4 100644 --- a/src/properties/stringlistproperty.cpp +++ b/src/properties/stringlistproperty.cpp @@ -61,6 +61,7 @@ bool toLuaConversion(lua_State* state, std::vector val) { lua_pushstring(state, std::to_string(i).c_str()); lua_pushstring(state, v.c_str()); lua_settable(state, -3); + ++i; } return true;