[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
+1 -1
View File
@@ -80,7 +80,7 @@ have ways of interacting with a specific atom and control it. They posses a blac
///Proc for deinitializing the pawn to the old controller
/datum/ai_controller/proc/UnpossessPawn(destroy)
UnregisterSignal(pawn, COMSIG_MOB_LOGIN, COMSIG_MOB_LOGOUT)
UnregisterSignal(pawn, list(COMSIG_MOB_LOGIN, COMSIG_MOB_LOGOUT))
pawn.ai_controller = null
pawn = null
if(destroy)