Jump to content

corpse_gestalt.lua


BB Goat
  • Fixed
local function ShouldSpawnFromRift()
    local rift = GetFirstLunarRift()
    for i, player in ipairs(AllPlayers) do
        if rift:GetDistanceSqToInst(player) < SCREEN_DIST_SQ then
            return true
        end
    end
end

rift should be checked for nil here; otherwise, the game may crash.


Steps to Reproduce

The issue occurs when killing birds in a Shipwrecked world created by the Island Adventures – Shipwrecked mod.
Although this is related to the mod, I believe the official code should also include a nil check.

server_log_2025-12-21-22-13-53.txt




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...