From 74ae1ca61648004a4a3ca5d32d760d422f941600 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 10 Jan 2020 14:47:27 +0100 Subject: [PATCH] Improve the `OS.is_debug_build()` documentation --- doc/classes/OS.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 3550ef6b5fc..2236c420949 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -613,9 +613,9 @@ - Returns [code]true[/code] if the build is a debug build. - Returns [code]true[/code] when running in the editor. - Returns [code]false[/code] if the build is a release build. + Returns [code]true[/code] if the Godot binary used to run the project is a [i]debug[/i] export template, or when running in the editor. + Returns [code]false[/code] if the Godot binary used to run the project is a [i]release[/i] export template. + To check whether the Godot binary used to run the project is an export template (debug or release), use [code]OS.has_feature("standalone")[/code] instead.