فهرست منبع

[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;
                 });