Merge pull request #8394 from Mailaender/map-container-nre
Fixed a null reference exception in Map.Save
This commit is contained in:
@@ -484,7 +484,7 @@ namespace OpenRA
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Saving the map to a new location
|
// Saving the map to a new location
|
||||||
if (toPath != Path)
|
if (toPath != Path || Container == null)
|
||||||
{
|
{
|
||||||
Path = toPath;
|
Path = toPath;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user