diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index fc516d56a..3426a9677 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -306,6 +306,7 @@ aabb3f read_aabb3f(lua_State *L, int index, f32 scale) box.MaxEdge.Z = lua_tonumber(L, -1) * scale; lua_pop(L, 1); } + box.repair(); return box; }