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:
parent
469d8eb13a
commit
00334120b0
3 changed files with 25 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue