Merge pull request #8394 from Mailaender/map-container-nre

Fixed a null reference exception in Map.Save
This commit is contained in:
Oliver Brakmann
2015-06-20 21:06:00 +02:00

View File

@@ -484,7 +484,7 @@ namespace OpenRA
}
// Saving the map to a new location
if (toPath != Path)
if (toPath != Path || Container == null)
{
Path = toPath;