Jump to content

SoilDrinkers are not unregistered from farming_manager on removal


HalfEnder776
  • Fixed

The FarmSoilDrinker component pushes the "ms_registersoildrinker" event in the OnRemoveFromEntity method instead of the "ms_unregistersoildrinker" event.

 

Because OnRemoveFromEntity runs after the "onremove" event, this results in the soildrinker never being unregistered.


Steps to Reproduce

> Remove farmplant

> "onremove" gets pushed removing the farmplant from the farming_manager

> OnRemoveFromEntity  gets called pushing "ms_registersoildrinker" adding the farmplant back to the farming_manager




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