1
0
mirror of https://codeberg.org/tenplus1/ambience.git synced 2024-12-24 01:30:30 +01:00

bugfix (thanks neko259)

This commit is contained in:
TenPlus1 2018-11-03 08:53:45 +00:00
parent 58e009bd12
commit 9cdaf5a951

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,