mirror of https://github.com/godotengine/godot
Fix forced optimization in dev_build
Fixes forced optimization in dev_build.
(cherry picked from commit b18c7481aa)
This commit is contained in:
parent
9253f415b3
commit
25518aad27
|
|
@ -50,7 +50,7 @@ def disable_warnings(self):
|
|||
|
||||
def force_optimization_on_debug(self):
|
||||
# 'self' is the environment
|
||||
if self["target"] != "template-release":
|
||||
if self["target"] == "template_release":
|
||||
return
|
||||
|
||||
if self.msvc:
|
||||
|
|
|
|||
Loading…
Reference in New Issue