From cbf2ec2ca664187f3fe90c91ca96a6214e5bea63 Mon Sep 17 00:00:00 2001 From: yrriban Date: Wed, 6 May 2026 18:38:00 -0400 Subject: [PATCH] Take into account the demo name when using the RIB command. --- doomcc/rib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doomcc/rib.py b/doomcc/rib.py index 6a456f7..a060561 100644 --- a/doomcc/rib.py +++ b/doomcc/rib.py @@ -26,6 +26,8 @@ class RIB(doomcc.doom_base.WadMap): demodir = demodir / "failed_demos" glob = f"*map{self.map}*" + if parsed_args.name is not None: + glob += f"{parsed_args.name}*" if parsed_args.attempt is not None: glob += f"{parsed_args.attempt}*"