Revert "Fixed spawn positions on larger than 10w boards"

This reverts commit dafc113038.

This didn't actually fix the problem, so it's been reverted.
This commit is contained in:
Ishaan Bhardwaj 2021-08-20 19:09:50 -04:00
parent dafc113038
commit 6cf6568a57

View File

@ -214,7 +214,7 @@ function Ruleset:initializePiece(
colours = self.colourscheme
end
local spawn_x = math.ceil(spawn_positions[data.shape].x * grid.width / 10)
local spawn_x = math.floor(spawn_positions[data.shape].x * grid.width / 10)
local spawn_dy
if (config.gamesettings.spawn_positions == 1) then