Skip the warp flag when generating the dsda text file.

This causes negative tics to work, for whatever reason.
This commit is contained in:
yrriban 2025-08-01 02:09:15 -04:00
parent 70e1a3a39e
commit e4c5c8b475

View file

@ -21,12 +21,10 @@ class DSDA(dcc.doom_base.WadMap):
command = [self.dsda] command = [self.dsda]
if shutil.which("xvfb-run") is not None: if shutil.which("xvfb-run") is not None:
command = ["xvfb-run"] + command command = ["xvfb-run"] + command
# TODO: negative tics should seek from the end, but this doesn't
# seem to work.
subprocess.run( subprocess.run(
command + self.dsda_preamble() + [ command + self.dsda_preamble(warp=False) + [
"-fastdemo", dip, "-nosound", "-skiptic", "-fastdemo", dip, "-nosound",
"999999999", "-export_text_file" "-skiptic", "-1", "-export_text_file"
] ]
) )
editor = "nano" editor = "nano"