Add "run it back" command to continue a practice run after failing a demo.

This commit is contained in:
yrriban 2025-08-01 02:03:30 -04:00
parent 6aaa3ea15f
commit 7925281ceb
3 changed files with 48 additions and 2 deletions

View file

@ -92,7 +92,7 @@ class WadMap(Wad):
def name_string(self):
return "" if self._name is None else "_" + self._name
def dsda_preamble(self):
def dsda_preamble(self, warp=True):
args = ["-iwad", self.iwad_path]
wads = self.load_order()
@ -105,7 +105,8 @@ class WadMap(Wad):
args = args + ["-complevel", str(self.complevel())]
args = args + ["-skill", "4"]
args = args + ["-warp", self.map]
if warp:
args = args + ["-warp", self.map]
args = args + self.options()
return args