Jump to content

Removing a corpse persisting source from corpsepersistmanager doesn't update existing corpses


hoxi
  • Fixed

This results in corpses that are currently persisting from the source that's being removed to persist permanently (at least until something else gets rid of them). Should probably do something like this in RemovePersistSourceFn:

        for i = 1, #_corpses do
            local corpse = _corpses[i]
            corpse:RemovePersistSource(key)
        end

 


Steps to Reproduce

Shouldn't affect anything right now, but if some new (or modded) mechanic adds or removes sources dynamically, it'll definitely be an issue.

  • Like 2



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