Jump to content

Crash when switching shards as a ghost


Crestwave
  • Fixed

A typo in widgets/statusdisplays.lua causes a crash when switching shards as a ghost. The game checks if self.onheartbuffdirty is nil then attempts to remove the nonexistent function, causing an assertion failure. This should be changed to ~= nil instead, just like all the other checks in the function.

-- widgets/statusdisplays.lua, line 171
if self.onheartbuffdirty == nil then
    self.inst:RemoveEventCallback("clienthealthbuffdirty", self.onheartbuffdirty, self.owner)
    self:RefreshHealthBuff()
end

 


Steps to Reproduce

1. Be a ghost.

2. Go into caves.

3. Note the crash.




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...