Skip to content

Commit

Permalink
[MIRROR] Fixes runtime from cyber implants [MDB IGNORE] (#25724) (#1203)
Browse files Browse the repository at this point in the history
* Fixes runtime from cyber implants (#80429)

## About The Pull Request

Adds an unregister signal that was missing
## Why It's Good For The Game

Runtimes from changing implant bad.
## Changelog
:cl:
fix: Fixes runtime from augments not unregistering a signal.
/:cl:

* Fixes runtime from cyber implants

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Diamond_ <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2023
1 parent d12887c commit 5443f64
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
active_item.forceMove(src)

UnregisterSignal(active_item, COMSIG_ITEM_ATTACK_SELF)
UnregisterSignal(active_item, COMSIG_ITEM_ATTACK_SELF_SECONDARY)
active_item = null
playsound(get_turf(owner), retract_sound, 50, TRUE)
return TRUE
Expand Down

0 comments on commit 5443f64

Please sign in to comment.