I am not sure about this. I fight with Crabking, and during the fighting autosave happens. When I roll back, I should go back to the midway of the fighting, but the game crashes and can not be launched again.
According to the codes, I suppose this is caused by the line 688 of crabking.lua. Perhaps a nil check is needed.
if data.icewall then inst:AddTag("icewall") inst.AnimState:Show("water") inst:DoTaskInTime(0, function() inst.Physics:SetCapsule(ICEHOLE_PHYSICS_RADIUS, 2) end) local keystonecount = 0 -- This line is line 688, inst.keystones is nil and caused the bug. for i,stone in ipairs(inst.keystones) do if stone then keystonecount = keystonecount + 1 end end if inst.keystones ~= nil and #inst.keystones < #KEYSTONE_POSITIONS then startendicetask(inst) inst:AddTag("notarget") end else inst:RemoveIceArena() end
I am still spend time reproducing this bug.
Steps to Reproduce
TODO: I will update this part after conducting some experiments.
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