mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:09:03 -06:00
Hide hold queue when hold is disabled
This commit is contained in:
parent
acaa6bdbbf
commit
7c8c5bb11d
@ -462,7 +462,7 @@ function GameMode:drawNextQueue(ruleset)
|
|||||||
drawPiece(next_piece, skin, ruleset.block_offsets[next_piece][rotation], -16+i*80, -32)
|
drawPiece(next_piece, skin, ruleset.block_offsets[next_piece][rotation], -16+i*80, -32)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if self.hold_queue ~= nil then
|
if self.hold_queue ~= nil and self.enable_hold then
|
||||||
local hold_color = self.held and 0.6 or 1
|
local hold_color = self.held and 0.6 or 1
|
||||||
self:setHoldOpacity(1, hold_color)
|
self:setHoldOpacity(1, hold_color)
|
||||||
drawPiece(
|
drawPiece(
|
||||||
|
Loading…
Reference in New Issue
Block a user