This commit is contained in:
Vitaliy Olkhin 2024-12-09 14:20:29 +05:00
parent 6861f2de8d
commit 88d1e223a1

View File

@ -68,7 +68,7 @@ local function choose_pos(pos)
pos = randomplayer:get_pos()
-- avoid striking underground
if pos.y < -20 and pos.y > 1000 then
if pos.y < -20 or pos.y > 1000 then
return nil, nil
end