From 51b5bbac0d26c36fe207bf4c2300571689c96052 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 27 Sep 2021 16:53:42 -0700 Subject: [PATCH] Don't require hl2sdk-mock if sdks=all --- AMBuildScript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index d0997710..34e6e305 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -179,7 +179,7 @@ class SMConfig(object): else: sdk_path = ResolveEnvPath(sdk.envvar, sdk.folder) if sdk_path is None or not os.path.isdir(sdk_path): - if use_all or sdk_name in sdk_list: + if (use_all and sdk_name != 'mock') or sdk_name in sdk_list: raise Exception('Could not find a valid path for {0}'.format(sdk.envvar)) continue if use_all or use_present or sdk_name in sdk_list: