From 4cf18b244b93910956c765f611bc78a501bd862e Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 22 Dec 2020 16:01:38 +0100 Subject: [PATCH] Actually fix the new arg. --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 4494b34b..5267c708 100644 --- a/SConstruct +++ b/SConstruct @@ -310,6 +310,7 @@ if len(sys.argv) > 1: arg_split = arg.split('_') arg = arg_split[0] + arg_split = arg_split[1:] if arg[0] == 'b': build_string = get_exports_for('global') + 'scons ' @@ -352,7 +353,7 @@ if len(sys.argv) > 1: for i in range(2, len(sys.argv)): build_string += ' ' + sys.argv[i] + ' ' - if '_slim' in arg: + if 'slim' in arg_split: build_string += 'module_webm_enabled=no module_webp_enabled=no module_arkit_enabled=no module_visual_script_enabled=no module_gdnative_enabled=no module_mobile_vr_enabled=no module_theora_enabled=no module_xatlas_unwrap_enabled=no' build_string += ' '