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.
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 accountSign in
Already have an account? Sign in here.
Sign In Now