summaryrefslogtreecommitdiff
path: root/modules/gridmap
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-09-30 12:28:50 +0200
committerGitHub <noreply@github.com>2022-09-30 12:28:50 +0200
commitf47979f0874b2ca6134e71575fbb359c6cc5ced0 (patch)
treec5c2159d3317f1da839e390281d6f32eb82e1158 /modules/gridmap
parent67961d875d518b565bc1fa923772af56fb227063 (diff)
parent39facb35a021f9301f742732fbbd3c6a5a548893 (diff)
Merge pull request #66242 from akien-mga/scons-unify-tools-target
Diffstat (limited to 'modules/gridmap')
-rw-r--r--modules/gridmap/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/SCsub b/modules/gridmap/SCsub
index da3f7d4dd9..282d772592 100644
--- a/modules/gridmap/SCsub
+++ b/modules/gridmap/SCsub
@@ -7,5 +7,5 @@ env_gridmap = env_modules.Clone()
# Godot source files
env_gridmap.add_source_files(env.modules_sources, "*.cpp")
-if env["tools"]:
+if env.editor_build:
env_gridmap.add_source_files(env.modules_sources, "editor/*.cpp")