Skip to content

Commit

Permalink
fix Godot4.x debug console print multiple logs into one line. (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaluluosi committed Jan 23, 2024
1 parent 4ae31bf commit 605fe7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/debugger/godot4/server_controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,10 @@ export class ServerController {
this.didFirstOutput = true;
// this.request_scene_tree();
}

debug.activeDebugConsole.appendLine(command.parameters[0]);
const lines = command.parameters[0];
for (const line of lines) {
debug.activeDebugConsole.appendLine(line);
}
break;
}
}
Expand Down

0 comments on commit 605fe7f

Please sign in to comment.