summaryrefslogtreecommitdiff
path: root/modules/gridmap/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gridmap/SCsub')
-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")