move SheetBuilder singleton onto ModData

This commit is contained in:
Bob
2010-08-21 17:44:06 +12:00
parent c7b650d6ec
commit 0e16aa339d
7 changed files with 6 additions and 13 deletions

View File

@@ -95,7 +95,7 @@ namespace OpenRA.Mods.RA
{
cachedTileset = self.World.Map.Tileset;
sprites = new Cache<TileReference<ushort,byte>, Sprite>(
x => SheetBuilder.SharedInstance.Add(self.World.TileSet.GetBytes(x),
x => Game.modData.SheetBuilder.Add(self.World.TileSet.GetBytes(x),
new Size(Game.CellSize, Game.CellSize)));
}