Fix tilsets path on linux
This commit is contained in:
parent
5a73ca2e31
commit
23ee2b79a6
1 changed files with 2 additions and 2 deletions
|
@ -37,9 +37,9 @@ namespace ZoFo.GameCore.GameManagers.MapManager
|
|||
|
||||
// Загрузка TileSet-ов по TileSetInfo
|
||||
List<TileSet> tileSets = new List<TileSet>();
|
||||
foreach (TileSetInfo tileSetInfo in tileMap.TileSets)
|
||||
foreach (TileSetInfo tileSetInfo in tileMap.TileSets)
|
||||
{
|
||||
TileSet tileSet = LoadTileSet("Content\\MapData\\TileMaps/" + tileSetInfo.Source);
|
||||
TileSet tileSet = LoadTileSet(Path.Combine("Content", "MapData", "TileMaps", tileSetInfo.Source));
|
||||
tileSet.FirstGid = tileSetInfo.FirstGid;
|
||||
tileSets.Add(tileSet);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue