summaryrefslogtreecommitdiff
path: root/modules/multiplayer/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/multiplayer/SCsub')
-rw-r--r--modules/multiplayer/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/multiplayer/SCsub b/modules/multiplayer/SCsub
index ff33655537..e89038c3e0 100644
--- a/modules/multiplayer/SCsub
+++ b/modules/multiplayer/SCsub
@@ -8,7 +8,7 @@ env_mp = env_modules.Clone()
module_obj = []
env_mp.add_source_files(module_obj, "*.cpp")
-if env["tools"]:
+if env.editor_build:
env_mp.add_source_files(module_obj, "editor/*.cpp")
env.modules_sources += module_obj