Support setting options in all cases where dsda is invoked.

Also allow overriding options for the fabricate and record commands.
This commit is contained in:
yrriban 2025-07-26 10:56:37 -04:00
parent 469d8eb13a
commit 00334120b0
3 changed files with 25 additions and 6 deletions

View file

@ -9,3 +9,9 @@ class Record(dcc.doom_base.WadMap):
[self.dsda] + self.dsda_preamble() +
["-record", self.demo_out_path()]
)
def options_dict(self):
opt_dict = super().options_dict()
for k, v in self._config.get("record_options", {}).items():
opt_dict[k] = v
return opt_dict