From 775b0409c4e124869c84469b5a4d3aba9b019f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 2 Mar 2013 15:56:13 +0100 Subject: [PATCH] don't hard-code the pause-key --- OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs index fa3d6a95fc..1cebd7be69 100644 --- a/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs +++ b/OpenRA.Game/Widgets/WorldInteractionControllerWidget.cs @@ -174,7 +174,7 @@ namespace OpenRA.Widgets world.Selection.DoControlGroup(world, e.KeyName[0] - '0', e.Modifiers, e.MultiTapCount); return true; } - else if (e.KeyName == "pause" || e.KeyName == "f3") + else if (e.KeyName == Game.Settings.Keys.PauseKey) { world.IssueOrder(Order.PauseRequest()); }