[3.2] Fix DebugPlay request handler ignoring BuildBeforePlaying
This must have been missed when backporting the new protocol to 3.2.
This commit is contained in:
parent
d0f365fe0f
commit
7af6a4cc50
|
@ -342,7 +342,7 @@ namespace GodotTools.Ides
|
||||||
DispatchToMainThread(() =>
|
DispatchToMainThread(() =>
|
||||||
{
|
{
|
||||||
GodotSharpEditor.Instance.CurrentPlaySettings =
|
GodotSharpEditor.Instance.CurrentPlaySettings =
|
||||||
new PlaySettings(request.DebuggerHost, request.DebuggerPort, buildBeforePlaying: true);
|
new PlaySettings(request.DebuggerHost, request.DebuggerPort, request.BuildBeforePlaying ?? true);
|
||||||
Internal.EditorRunPlay();
|
Internal.EditorRunPlay();
|
||||||
GodotSharpEditor.Instance.CurrentPlaySettings = null;
|
GodotSharpEditor.Instance.CurrentPlaySettings = null;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue