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
@@ -163,6 +163,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
var p = modData.MapCache[generatedMapArgs.Uid];
|
||||
if (p.Status != MapStatus.Available && package is ZipFileLoader.ReadWriteZipFile zipPackage)
|
||||
{
|
||||
p.UpdateFromGenerationArgs(generatedMapArgs);
|
||||
p.UpdateFromMap(zipPackage, MapClassification.Generated);
|
||||
|
||||
// UpdateFromMap took ownership of the package.
|
||||
|
||||
Reference in New Issue
Block a user