oh ffs. old world was being referenced. fixed so it crashes if you do that.
This commit is contained in:
@@ -58,6 +58,7 @@ namespace OpenRa
|
||||
FileSystem.UnmountTemporaryPackages();
|
||||
Rules.LoadRules(mapName, usingAftermath);
|
||||
|
||||
world = null; // trying to access the old world will NRE, rather than silently doing it wrong.
|
||||
world = new World();
|
||||
Game.world.ActorAdded += a =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user