Skip unneeded string operation that slows down actions

This commit is contained in:
Travis Nickles 2017-04-10 23:19:24 -07:00
parent c8c6e5265b
commit 7bb6a6cdbc

View File

@ -515,7 +515,7 @@ namespace DS4Windows
public static SpecialAction GetProfileAction(int device, string name)
{
SpecialAction sA = new SpecialAction("null", "null", "null", "null");
SpecialAction sA = null;
m_Config.profileActionDict[device].TryGetValue(name, out sA);
return sA;
}