fix potential crash on map load

This commit is contained in:
Tim Felgentreff 2022-07-10 14:41:36 +02:00
parent ca367b2fd1
commit d21858dcef

View file

@ -836,6 +836,7 @@ static int CclLoadTileModels(lua_State *l)
*/
static int CclDefineTileset(lua_State *l)
{
Map.Create();
Map.Tileset->parse(l);
// Load and prepare the tileset