From abc5ddcc6ea880f790d0b9cdc744aafdce4384fc Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:56:20 +0100 Subject: [PATCH] Fix lua console null output logging - closes #3810 - fixes bb7f9334298df78be5e0bec86fea099464091036 --- .../tools/Lua/Libraries/ConsoleLuaLibrary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/ConsoleLuaLibrary.cs b/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/ConsoleLuaLibrary.cs index 7feef97acc..49eaf2437a 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/ConsoleLuaLibrary.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/ConsoleLuaLibrary.cs @@ -103,7 +103,7 @@ namespace BizHawk.Client.EmuHawk if (outputs == null || outputs.Length == 0 || (outputs.Length == 1 && outputs[0] is null)) { - sb.Append($"(no return){terminator}"); + Tools.LuaConsole.WriteToOutputWindow($"(no return){terminator}"); return; }