Save map generation args in replays/saves instead of full map.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
0d479e7c18
commit
fdb4ce4e0f
@@ -228,7 +228,7 @@ namespace OpenRA
|
||||
|
||||
var preview = modData.MapCache[Map.Uid];
|
||||
if (preview.Class == MapClassification.Generated)
|
||||
gameInfo.MapData = preview.ToBase64String();
|
||||
gameInfo.MapGenerationArgs = preview.GenerationArgs;
|
||||
|
||||
RulesContainTemporaryBlocker = Map.Rules.Actors.Any(a => a.Value.HasTraitInfo<ITemporaryBlockerInfo>());
|
||||
gameSettings = GetSettings<GameSettings>();
|
||||
|
||||
Reference in New Issue
Block a user