avoid a null reference exception

This commit is contained in:
Matthias Mailänder
2015-06-06 12:49:17 +02:00
parent 1651bd817b
commit 330982310c

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;