fix potential crash on map load
This commit is contained in:
parent
ca367b2fd1
commit
d21858dcef
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue