Skip to content

Commit

Permalink
Merge branch 'main' into fix-bank-npc
Browse files Browse the repository at this point in the history
  • Loading branch information
lamonato29 authored Mar 12, 2024
2 parents 039c126 + 5ba510d commit 7b75e74
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 7b75e74

Please sign in to comment.