Unhardcode terrain types. Needs a bit more work re initialization and bridges
This commit is contained in:
@@ -80,9 +80,8 @@ namespace OpenRA
|
||||
|
||||
var theaterInfo = Rules.Info["world"].Traits.WithInterface<TheaterInfo>()
|
||||
.FirstOrDefault(t => t.Theater == Map.Theater);
|
||||
TileSet = new TileSet(theaterInfo.Tileset, theaterInfo.Templates, theaterInfo.Suffix);
|
||||
TileSet = new TileSet(theaterInfo.Tileset, theaterInfo.Suffix);
|
||||
|
||||
Game.ConvertTileset(TileSet, theaterInfo, "tileset-"+theaterInfo.Suffix+".yaml");
|
||||
SpriteSheetBuilder.Initialize( Map );
|
||||
Timer.Time( "Tileset: {0}" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user