diff --git a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs index 93a3f35ba8..51147bb92b 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs @@ -1309,7 +1309,7 @@ namespace BizHawk.Client.EmuHawk string consoleBeforeCall = OutputBox.Text; // TODO: Maybe make these try-catches more general - if (InputBox.Text != "") + if (!string.IsNullOrWhiteSpace(InputBox.Text)) { LuaSandbox.Sandbox(null, () => {