Changed: Build palette hotkeys cannot be triggered anymore when used together with a modifier

This commit is contained in:
geckosoft
2010-11-11 04:21:39 +01:00
committed by Bob
parent 5b71bee4c8
commit 8b3512e2f1

View File

@@ -146,7 +146,7 @@ namespace OpenRA.Mods.RA.Widgets
public override bool HandleKeyPressInner(KeyInput e)
{
if (e.Event == KeyInputEvent.Up) return false;
if (e.Event == KeyInputEvent.Up || e.Modifiers != Modifiers.None) return false;
if (e.KeyChar == '\t')
{