Skip to content

Commit

Permalink
Merge branch 'main' into fix/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel authored Mar 12, 2024
2 parents e6b34ae + 5ba510d commit c696240
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/scripts/movements/snow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ local snow = MoveEvent()

function snow.onStepOut(creature, item, position, fromPosition)
local player = creature:getPlayer()
if player and player:isInGhostMode() then
if not player then
return true
end

if player:isInGhostMode() then
return true
end

Expand Down

0 comments on commit c696240

Please sign in to comment.