remove restriction on field height in custom mode (#361)

This commit is contained in:
Imple Lee
2021-10-06 17:18:47 +08:00
committed by GitHub
parent e4d62cc4af
commit 54447e187a
2 changed files with 1 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ end
function setField(P,page)
local F=FIELD[page]
local height=0
for y=20,1,-1 do
for y=#F,1,-1 do
if solidLine(F[y])then
height=y
break