Add contexts for hotkey validation
This commit is contained in:
committed by
Matthias Mailänder
parent
1bc95a290f
commit
1813edc74b
@@ -89,7 +89,7 @@ namespace OpenRA
|
||||
if (kv.Key == name)
|
||||
continue;
|
||||
|
||||
if (kv.Value == value && definitions[kv.Key].Types.Overlaps(definition.Types))
|
||||
if (kv.Value == value && definitions[kv.Key].Contexts.Overlaps(definition.Contexts))
|
||||
return definitions[kv.Key];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user