Skip to content

Commit

Permalink
fix: revert suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas authored Mar 11, 2024
1 parent fd0d1f3 commit 31dd573
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 not player or player:isInGhostMode() then
if not player then
return true
end

if player:isInGhostMode() then
return true
end

Expand Down

0 comments on commit 31dd573

Please sign in to comment.