mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Fixes 9000+ runtimes with the camera bug because I'm an idiot (#21835)
* bruh * better comment
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
|
||||
|
||||
I.invisibility = initial(I.invisibility)
|
||||
UnregisterSignal(attached_to, list(COMSIG_HUMAN_MELEE_UNARMED_ATTACKBY, COMSIG_PARENT_EXAMINE))
|
||||
UnregisterSignal(attached_to, list(COMSIG_HUMAN_MELEE_UNARMED_ATTACKBY, COMSIG_PARENT_EXAMINE, COMSIG_PARENT_QDELETING, COMSIG_MOVABLE_MOVED))
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
attached_to = null
|
||||
return COMPONENT_CANCEL_ATTACK_CHAIN
|
||||
@@ -105,6 +105,9 @@
|
||||
qdel(parent)
|
||||
return
|
||||
|
||||
// Cancel out these signals, if they even still exist. Just to be safe
|
||||
UnregisterSignal(attached_to, list(COMSIG_HUMAN_MELEE_UNARMED_ATTACKBY, COMSIG_PARENT_EXAMINE, COMSIG_PARENT_QDELETING, COMSIG_MOVABLE_MOVED))
|
||||
|
||||
var/turf/T = get_turf(source)
|
||||
if(!T)
|
||||
T = get_turf(parent)
|
||||
|
||||
Reference in New Issue
Block a user