Move force pausing to EndGame method
This commit is contained in:
committed by
Matthias Mailänder
parent
19613ed833
commit
20a16ad5f8
@@ -223,12 +223,7 @@ namespace OpenRA.Scripting
|
||||
|
||||
FatalErrorOccurred = true;
|
||||
|
||||
World.AddFrameEndTask(w =>
|
||||
{
|
||||
World.EndGame();
|
||||
World.SetPauseState(true);
|
||||
World.PauseStateLocked = true;
|
||||
});
|
||||
World.AddFrameEndTask(w => World.EndGame());
|
||||
}
|
||||
|
||||
public void RegisterMapActor(string name, Actor a)
|
||||
|
||||
Reference in New Issue
Block a user