Refactor MapPreviewLogic
and add a states for updating map via MapCache.GetUpdatedMap
This commit is contained in:
committed by
Matthias Mailänder
parent
2c4a135c2b
commit
a9cf728ee1
@@ -176,6 +176,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{ "getSpawnOccupants", (Func<Dictionary<int, SpawnOccupant>>)(() => spawnOccupants.Update(selectedReplay)) },
|
||||
{ "getDisabledSpawnPoints", (Func<HashSet<int>>)(() => disabledSpawnPoints.Update(selectedReplay)) },
|
||||
{ "showUnoccupiedSpawnpoints", false },
|
||||
{ "mapUpdatesEnabled", false },
|
||||
{ "onMapUpdate", (Action<string>)(_ => { }) },
|
||||
});
|
||||
|
||||
var replayDuration = new CachedTransform<ReplayMetadata, string>(r =>
|
||||
|
||||
Reference in New Issue
Block a user