mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:09:03 -06:00
Fixed 0 next queue modes
This commit is contained in:
parent
a998be6f7b
commit
81677221f1
@ -102,7 +102,7 @@ function GameMode:initialize(ruleset, secret_inputs)
|
|||||||
BagRandomizer(ruleset.pieces)
|
BagRandomizer(ruleset.pieces)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
for i = 1, self.next_queue_length do
|
for i = 1, math.max(self.next_queue_length, 1) do
|
||||||
table.insert(self.next_queue, self:getNextPiece(ruleset))
|
table.insert(self.next_queue, self:getNextPiece(ruleset))
|
||||||
end
|
end
|
||||||
self.lock_on_soft_drop = ({ruleset.softdrop_lock, self.instant_soft_drop, false, true })[config.gamesettings.manlock]
|
self.lock_on_soft_drop = ({ruleset.softdrop_lock, self.instant_soft_drop, false, true })[config.gamesettings.manlock]
|
||||||
|
Loading…
Reference in New Issue
Block a user