private void OnDetach() { BuffController buff = BuffController.MakeNewIfNone(this.block.tank); buff.RemoveBuff(this); if (base.block.tank != null) { base.block.tank.AnchorEvent.Unsubscribe(new Action <ModuleAnchor, bool, bool>(this.OnAnchor)); } }
private void OnDetach() { BuffController buff = BuffController.MakeNewIfNone(this.block.tank); buff.RemoveBuff(this); if (base.block.tank != null) { base.block.tank.AnchorEvent.Unsubscribe(new Action <ModuleAnchor, bool, bool>(this.OnAnchor)); } }