Fix two modes having an erroneous randomizer.
parent
d36a97d612
commit
8adbb06053
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue