fix snow removing tile when walking on stair and update map to the newest

This commit is contained in:
ErikasKontenis
2022-07-03 20:26:07 +03:00
parent 635bd59fa2
commit 3934e084c6
4 changed files with 44 additions and 141 deletions

View File

@@ -3,7 +3,12 @@ function onStepOut(creature, item, position, fromPosition)
if player and player:isInGhostMode() then
return true
end
local tile = Tile(position)
if tile == nil or tile:hasProperty(CONST_PROP_HASHEIGHT) then
return true
end
if item.itemid == 799 then
item:transform(6594)
else