Use string.Contains(char) instead of string.Contains(string)
with single characters
This commit is contained in:
committed by
Matthias Mailänder
parent
3bc28ba6e2
commit
af3362c62f
@@ -52,7 +52,7 @@ namespace OpenRA
|
||||
|
||||
parent?.AddChild(widget);
|
||||
|
||||
if (node.Key.Contains("@"))
|
||||
if (node.Key.Contains('@'))
|
||||
FieldLoader.LoadField(widget, "Id", node.Key.Split('@')[1]);
|
||||
|
||||
foreach (var child in node.Value.Nodes)
|
||||
|
||||
Reference in New Issue
Block a user