mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] fixes small zparallax bug [MDB IGNORE] (#13880)
* fixes small zparallax bug (#67244)
fixes an issue where if you attempted to regain control of your initial body after possessing another body it caused a stack trace due to MOB_LOGIN signal not being unregistered
(This was tsu's fault, introduced in a9d8be4d16)
* fixes small zparallax bug
Co-authored-by: magatsuchi <88991542+magatsuchi@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
if(!client_mob)
|
||||
return
|
||||
|
||||
UnregisterSignal(client_mob, list(COMSIG_MOB_LOGOUT, COMSIG_MOVABLE_Z_CHANGED))
|
||||
UnregisterSignal(client_mob, list(COMSIG_MOB_LOGIN, COMSIG_MOB_LOGOUT, COMSIG_MOVABLE_Z_CHANGED))
|
||||
|
||||
/datum/component/zparallax/proc/refresh_client()
|
||||
tracked = client_mob.client
|
||||
|
||||
Reference in New Issue
Block a user