Jump to content

Typo in mutatedbuzzardmanager for buzzard removed listener


hoxi
  • Fixed
shadow_OnRemove = function(shadow)
    local buzzard = shadow.buzzard
    if buzzard then
        buzzard:RemoveEventCallback("onremove", buzzard_OnRemove)
        buzzard.shadow = nil
    end
end

buzzard_OnRemove = function(buzzard)
    local shadow = buzzard.shadow
    if shadow then
        shadow:RemoveEventCallback("onremove", shadow_OnRemove)
        shadow.shadow = nil -- should be shadow.buzzard = nil
    end
end

 


Steps to Reproduce

Nothing to add here.




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