1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

[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:
Ignacio Etcheverry
2020-06-25 21:20:41 +02:00
parent d0f365fe0f
commit 7af6a4cc50

View File

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