.Any(), .Count() -> .Count or .Length
This commit is contained in:
committed by
atlimit8
parent
6eb4fe8980
commit
79f321cb44
@@ -270,7 +270,7 @@ namespace OpenRA.Widgets
|
||||
|
||||
public void PostInit(WidgetArgs args)
|
||||
{
|
||||
if (!Logic.Any())
|
||||
if (Logic.Length == 0)
|
||||
return;
|
||||
|
||||
args["widget"] = this;
|
||||
|
||||
Reference in New Issue
Block a user