소스 검색

[3.2] Fix DebugPlay request handler ignoring BuildBeforePlaying

This must have been missed when backporting the new protocol to 3.2.
Ignacio Etcheverry 5 년 전
부모
커밋
7af6a4cc50
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/mono/editor/GodotTools/GodotTools/Ides/MessagingServer.cs

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Ides/MessagingServer.cs

@@ -342,7 +342,7 @@ namespace GodotTools.Ides
                 DispatchToMainThread(() =>
                 {
                     GodotSharpEditor.Instance.CurrentPlaySettings =
-                        new PlaySettings(request.DebuggerHost, request.DebuggerPort, buildBeforePlaying: true);
+                        new PlaySettings(request.DebuggerHost, request.DebuggerPort, request.BuildBeforePlaying ?? true);
                     Internal.EditorRunPlay();
                     GodotSharpEditor.Instance.CurrentPlaySettings = null;
                 });