bugfix (thanks neko259)

This commit is contained in:
TenPlus1 2018-11-03 08:53:45 +00:00
parent 58e009bd12
commit 9cdaf5a951
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ ambience.add_set("desert", {
local c = (def.totals["default:desert_sand"] or 0)
+ (def.totals["default:sand"] or 0)
if c > 150 and pos.y > 10 then
if c > 150 and def.pos.y > 10 then
return "desert"
end
end,