mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 00:59:02 -06:00
Fixed spawn positions on larger than 10w boards
This commit is contained in:
parent
923f3d3696
commit
dafc113038
@ -214,7 +214,7 @@ function Ruleset:initializePiece(
|
||||
colours = self.colourscheme
|
||||
end
|
||||
|
||||
local spawn_x = math.floor(spawn_positions[data.shape].x * grid.width / 10)
|
||||
local spawn_x = math.ceil(spawn_positions[data.shape].x * grid.width / 10)
|
||||
|
||||
local spawn_dy
|
||||
if (config.gamesettings.spawn_positions == 1) then
|
||||
|
Loading…
Reference in New Issue
Block a user