Fix two modes having an erroneous randomizer.

This commit is contained in:
Ishaan Bhardwaj 2021-11-04 16:13:50 -04:00
parent d36a97d612
commit 8adbb06053
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
local GameMode = require 'tetris.modes.gamemode'
local Bag7Randomizer = require 'tetris.randomizers.bag7'
local MarathonWBGame = GameMode:extend()
@ -15,6 +16,7 @@ function MarathonWBGame:new()
self.instant_soft_drop = false
self.enable_hold = true
self.next_queue_length = 6
self.randomizer = Bag7Randomizer()
self.keystrokes = 0
self.pieces = 0

View File

@ -1,4 +1,5 @@
local GameMode = require 'tetris.modes.gamemode'
local Bag7Randomizer = require 'tetris.randomizers.bag7'
local MarathonWLJGame = GameMode:extend()
@ -15,6 +16,7 @@ function MarathonWLJGame:new()
self.instant_soft_drop = false
self.enable_hold = true
self.next_queue_length = 6
self.randomizer = Bag7Randomizer()
self.pieces = 0
self.b2b = false