diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs b/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs index 8cda0fbaa5..4dcca5abab 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs @@ -1392,7 +1392,7 @@ namespace BizHawk.Client.EmuHawk // empty array if the command was e.g. a variable assignment or a loop without return statement // "void" functions return a single null // if output didn't change, Print will take care of writing out "(no return)" - if (results is not [ ] and not [ null ] || OutputBox.Text == consoleBeforeCall) + if (results is not ([ ] or [ null ]) || OutputBox.Text == consoleBeforeCall) { LuaLibraries.Print(results); }