mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Updates the proximity monitor component (#15836)
* prox component update * mochi review * bug fix, makes proximity sensors always active * GC fixes and removes an unused proc * Disposal fixes from TM * fixes runtimes when objects created in nullspace runtimes, fixes portable flasher * a fresh perspective * lewcc review * adds comment about direct loc setting over forceMove
This commit is contained in:
@@ -170,7 +170,6 @@
|
||||
to_chat(usr, "<span class='notice'>You detach [assembly] from [src]</span>")
|
||||
usr.put_in_hands(assembly)
|
||||
assembly = null
|
||||
qdel(GetComponent(/datum/component/proximity_monitor))
|
||||
update_icon()
|
||||
else
|
||||
to_chat(usr, "<span class='notice'>There is no assembly to remove.</span>")
|
||||
@@ -187,8 +186,6 @@
|
||||
assembly = W
|
||||
user.drop_item()
|
||||
W.forceMove(src)
|
||||
if(assembly.has_prox_sensors())
|
||||
AddComponent(/datum/component/proximity_monitor)
|
||||
overlays += "assembly"
|
||||
else
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user