[MIRROR] Fix incorrect uses of UnregisterSignal (#6035)

* Fix incorrect uses of UnregisterSignal (#59379)

Correctly unregister multiple signal types / removes uneeded proc parameters in calls to UnregisterSignal

* Fix incorrect uses of UnregisterSignal

Co-authored-by: Gamer025 <33846895+Gamer025@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-05-30 22:53:47 +01:00
committed by GitHub
co-authored by Gamer025
parent 3c7364764d
commit 7657dd420f
8 changed files with 12 additions and 12 deletions
@@ -113,7 +113,7 @@
/mob/living/simple_animal/bot/mulebot/Destroy()
UnregisterSignal(src, COMSIG_MOB_BOT_PRE_STEP, COMSIG_MOB_CLIENT_PRE_MOVE, COMSIG_MOB_BOT_STEP, COMSIG_MOB_CLIENT_MOVED)
UnregisterSignal(src, list(COMSIG_MOB_BOT_PRE_STEP, COMSIG_MOB_CLIENT_PRE_MOVE, COMSIG_MOB_BOT_STEP, COMSIG_MOB_CLIENT_MOVED))
unload(0)
QDEL_NULL(wires)
QDEL_NULL(cell)