We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee8d2b commit 24e42e6Copy full SHA for 24e42e6
src/hammeraddons/postcompiler.py
@@ -220,7 +220,13 @@ async def main(argv: list[str]) -> None:
220
studiomdl_path=studiomdl_path,
221
)
222
223
- if studiomdl_path is not None and args.propcombine:
+ if args.propcombine:
224
+ if studiomdl_path is None:
225
+ # All builtin definitions should have a correct path, so this should be a user one.
226
+ raise ValueError(
227
+ 'Cannot propcombine, no studioMDL path provided! '
228
+ 'Update hammeraddons_game.vdf.'
229
+ )
230
decomp_cache_path = conf.opts.get(config.PROPCOMBINE_CACHE)
231
decomp_cache_loc: Path | None
232
crowbar_loc: Path | None
0 commit comments