Fix RCS1205

This commit is contained in:
RoosterDragon
2023-03-18 13:16:05 +00:00
committed by Gustas
parent 25cb3728ca
commit 498c6e3d8b
8 changed files with 27 additions and 24 deletions

View File

@@ -124,8 +124,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
title: RestartTitle,
text: RestartPrompt,
onConfirm: () => Game.SwitchToExternalMod(external, null, NoRestart),
onCancel: CloseAndExit,
confirmText: RestartAccept,
onCancel: CloseAndExit,
cancelText: RestartCancel);
}
else
@@ -142,11 +142,11 @@ namespace OpenRA.Mods.Common.Widgets.Logic
ConfirmationDialogs.ButtonPrompt(modData,
title: ResetTitle,
titleArguments: Translation.Arguments("panel", panels[activePanel]),
text: ResetPrompt,
titleArguments: Translation.Arguments("panel", panels[activePanel]),
onConfirm: Reset,
onCancel: () => { },
confirmText: ResetAccept,
onCancel: () => { },
cancelText: ResetCancel);
};
}