mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 23:19:02 -06:00
board size side next fix
I made it so that the side next queue moves based on the width of the grid.
This commit is contained in:
parent
ad63765eb9
commit
5db99becf3
@ -720,7 +720,7 @@ function GameMode:drawNextQueue(ruleset)
|
||||
local skin = self.next_queue[i].skin
|
||||
local rotation = self.next_queue[i].orientation
|
||||
if config.side_next then -- next at side
|
||||
drawPiece(next_piece, skin, ruleset.block_offsets[next_piece][rotation], 192, -10+i*48)
|
||||
drawPiece(next_piece, skin, ruleset.block_offsets[next_piece][rotation], 32+self.grid.width*16, -10+i*48)
|
||||
else -- next at top
|
||||
drawPiece(next_piece, skin, ruleset.block_offsets[next_piece][rotation], -16+i*80, -32)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user