From 34fdd0aefa0bcc94afd37f82cad496a2a5e5261d Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 8 Jun 2020 13:42:25 -0400 Subject: [PATCH] Remove quotation marks around ChangeTextBlock command args because that breaks stuff --- Pixi/Images/ImageCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pixi/Images/ImageCommands.cs b/Pixi/Images/ImageCommands.cs index 4e3a570..9610dc8 100644 --- a/Pixi/Images/ImageCommands.cs +++ b/Pixi/Images/ImageCommands.cs @@ -220,8 +220,8 @@ namespace Pixi.Images ConsoleBlock console = ConsoleBlock.PlaceNew(position); // set console's command console.Command = "ChangeTextBlockCommand"; - console.Arg1 = "\"" + textBlockId + "\""; - console.Arg2 = "\"" + text + "\""; + console.Arg1 = textBlockId; + console.Arg2 = text; console.Arg3 = ""; Logging.CommandLog($"Placed {img.width}x{img.height} image in console block beside you ({text.Length} characters)"); Logging.MetaLog($"Completed image console block {textBlockId} synthesis in {timer.ElapsedMilliseconds}ms containing {text.Length} characters for {img.width * img.height} pixels");