Skip to content

Commit

Permalink
Merge pull request #21 from RobomandosLab/juddering-egg
Browse files Browse the repository at this point in the history
quick patch to fix juddering egg rendering bug
  • Loading branch information
RandomCatDude authored Jan 5, 2025
2 parents f69eca4 + 1a60185 commit 279916e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Items/judderingEgg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ packetSyncWurm:onReceived(function(msg)
end
end)

-- draw wurms with this callback, so that they appear on top of foreground terrain
Callback.add(Callback.TYPE.preHUDDraw, "SSJudderingEggDraw", function()
-- draw wurms with a global callback, so that they appear even if their player is invisible for any reason (teleporting, dead, etc.)
Callback.add(Callback.TYPE.onDraw, "SSJudderingEggDraw", function()
for id, _ in pairs(wurm_owners) do
if not Instance.exists(id) then
wurm_owners[id] = nil
Expand Down

0 comments on commit 279916e

Please sign in to comment.