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:
parent
58e009bd12
commit
9cdaf5a951
@ -213,7 +213,7 @@ ambience.add_set("desert", {
|
|||||||
local c = (def.totals["default:desert_sand"] or 0)
|
local c = (def.totals["default:desert_sand"] or 0)
|
||||||
+ (def.totals["default: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"
|
return "desert"
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user