Replay tunings fix

This commit is contained in:
Tetro48
2022-03-09 10:05:06 +07:00
parent 9e447d51a7
commit d868e8b803
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ ReplayScene.title = "Replay"
function ReplayScene:new(replay, game_mode, ruleset)
config.gamesettings = replay["gamesettings"]
if replay["delayed_auto_shift"] then config.das = replay["delayed_auto_shift"] end
if replay["auto_repeat_rate"] then config.arr = replay["auto_repeat_rate"] end
if replay["das_cut_delay"] then config.dcd = replay["das_cut_delay"] end
love.math.setRandomSeed(replay["random_low"], replay["random_high"])
love.math.setRandomState(replay["random_state"])
self.retry_replay = replay