Prevent crash dialog from popping up when the game restarts
Fixes #6887
This commit is contained in:
@@ -105,7 +105,7 @@ namespace OpenRA
|
||||
|
||||
static void GameProcessExited(object sender, EventArgs e)
|
||||
{
|
||||
if (gameProcess.ExitCode != 0)
|
||||
if (!(gameProcess.ExitCode == (int)RunStatus.Success || gameProcess.ExitCode == (int)RunStatus.Restart))
|
||||
ShowErrorDialog();
|
||||
|
||||
Exit();
|
||||
|
||||
Reference in New Issue
Block a user