diff --git a/source/core/StarLuaConverters.hpp b/source/core/StarLuaConverters.hpp index 3270d16..f476d2e 100644 --- a/source/core/StarLuaConverters.hpp +++ b/source/core/StarLuaConverters.hpp @@ -24,6 +24,7 @@ struct LuaConverter> : LuaConverter { } static LuaNullTermWrapper to(LuaEngine& engine, LuaValue const& v) { + auto enforcer = engine.nullTerminate(); return LuaConverter::to(engine, v); } };