Skip to content

Draft: Prevent Redo Level from not saving replays

wehrlia requested to merge wehrlia/RingRacers:repeatlvl into master

Related issue: #216

Marked as a draft because there's probably a million ways to do this, be it through modifying Redo Level (which is what this MR currently does), creating an entirely new vote option, or by doing something else entirely that I haven't thought about yet. Also because I want to hear your (developer(s) reading this) thoughts on this.

As it stands currently, this MR makes it so that if

  1. There's more than one person playing, and
  2. Race is at 2 laps,

Redo Level will queue up the current map, so that it restarts after the ranking screen (replays are only saved at that screen), instead of abruptly restarting the race. If those conditions aren't met, the map will be abruptly restarted like normal. A "map was queued" message appears in the console though, which should be changed to something more descriptive, but I'm not sure how to do that (help!).

Condition 1 might be unnecessary and/or arbitrary, but I think condition 2 is definitely needed, if the "Modify Redo Level" route is to be taken.

Merge request reports

Loading