Save map generation args in replays/saves instead of full map.

This commit is contained in:
Paul Chote
2025-12-28 10:30:54 +00:00
committed by Gustas Kažukauskas
parent 0d479e7c18
commit fdb4ce4e0f
10 changed files with 56 additions and 71 deletions

View File

@@ -1356,7 +1356,7 @@ namespace OpenRA.Server
};
if (Map.Class == MapClassification.Generated)
gameInfo.MapData = Map.ToBase64String();
gameInfo.MapGenerationArgs = Map.GenerationArgs;
// Replay metadata should only include the playable players
foreach (var p in worldPlayers)