Browse Source

Remove quotation marks around ChangeTextBlock command args because that breaks stuff

tags/v0.4.0-beta2
NGnius (Graham) 3 years ago
parent
commit
34fdd0aefa
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Pixi/Images/ImageCommands.cs

+ 2
- 2
Pixi/Images/ImageCommands.cs View File

@@ -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");