Hi! When a player walks into some squares they change and become like this:
This is my snow.lua in movements.
You know how to fix it? Thanks!

This is my snow.lua in movements.
TILE_SNOW = 670
TILE_FOOTPRINT_I = 6594
function onStepOut(cid, item, position, fromPosition)
if(isPlayerGhost(cid)) == false then
if(item.itemid == TILE_SNOW) then
doDecayItem(doCreateItem(TILE_FOOTPRINT_I, fromPosition))
else
doDecayItem(doCreateItem(item.itemid + 15, fromPosition))
end
end
return true
end
You know how to fix it? Thanks!
