Fixed a problem with instance_db import

Fixes #2824

Thanks to @luan122
This commit is contained in:
Lemongrass3110
2018-01-25 19:07:34 +01:00
parent bb0dd7b8dc
commit ec59e95520

View File

@@ -927,6 +927,7 @@ static bool instance_readdb_sub(char* str[], int columns, int current)
aFree(db->maplist);
db->maplist = NULL;
}
db->maplist_count = 0;
}
StringBuf_AppendStr(db->name, str[1]);