Skip to content

Commit

Permalink
quick patch to fix juddering egg rendering bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomCatDude committed Jan 5, 2025
1 parent 998af62 commit 1a60185
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 1a60185

Please sign in to comment.