Reduce indentation in `Bk2Controller.SetFromMnemonic`
This commit is contained in:
parent
151491c844
commit
cee9661f0e
|
@ -79,8 +79,7 @@ namespace BizHawk.Client.Common
|
|||
|
||||
public void SetFromMnemonic(string mnemonic)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(mnemonic))
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(mnemonic)) return;
|
||||
var iterator = 0;
|
||||
|
||||
foreach (var key in ControlsOrdered)
|
||||
|
@ -107,7 +106,6 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void SetBool(string buttonName, bool value)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue