mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 09:49:01 -06:00
Fix two modes having an erroneous randomizer.
This commit is contained in:
parent
d36a97d612
commit
8adbb06053
@ -1,4 +1,5 @@
|
|||||||
local GameMode = require 'tetris.modes.gamemode'
|
local GameMode = require 'tetris.modes.gamemode'
|
||||||
|
local Bag7Randomizer = require 'tetris.randomizers.bag7'
|
||||||
|
|
||||||
local MarathonWBGame = GameMode:extend()
|
local MarathonWBGame = GameMode:extend()
|
||||||
|
|
||||||
@ -15,6 +16,7 @@ function MarathonWBGame:new()
|
|||||||
self.instant_soft_drop = false
|
self.instant_soft_drop = false
|
||||||
self.enable_hold = true
|
self.enable_hold = true
|
||||||
self.next_queue_length = 6
|
self.next_queue_length = 6
|
||||||
|
self.randomizer = Bag7Randomizer()
|
||||||
|
|
||||||
self.keystrokes = 0
|
self.keystrokes = 0
|
||||||
self.pieces = 0
|
self.pieces = 0
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
local GameMode = require 'tetris.modes.gamemode'
|
local GameMode = require 'tetris.modes.gamemode'
|
||||||
|
local Bag7Randomizer = require 'tetris.randomizers.bag7'
|
||||||
|
|
||||||
local MarathonWLJGame = GameMode:extend()
|
local MarathonWLJGame = GameMode:extend()
|
||||||
|
|
||||||
@ -15,6 +16,7 @@ function MarathonWLJGame:new()
|
|||||||
self.instant_soft_drop = false
|
self.instant_soft_drop = false
|
||||||
self.enable_hold = true
|
self.enable_hold = true
|
||||||
self.next_queue_length = 6
|
self.next_queue_length = 6
|
||||||
|
self.randomizer = Bag7Randomizer()
|
||||||
|
|
||||||
self.pieces = 0
|
self.pieces = 0
|
||||||
self.b2b = false
|
self.b2b = false
|
||||||
|
Loading…
Reference in New Issue
Block a user