Browse Source

[3.2] Fix DebugPlay request handler ignoring BuildBeforePlaying

This must have been missed when backporting the new protocol to 3.2.
Ignacio Etcheverry 5 năm trước cách đây
mục cha
commit
7af6a4cc50

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