Fixed spawn positions on larger than 10w boards

pull/33/merge
Ishaan Bhardwaj 2021-08-20 18:53:07 -04:00
parent 923f3d3696
commit dafc113038
1 changed files with 1 additions and 1 deletions

View File

@ -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