mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-09 00:43:07 +00:00
Merge pull request #6150 from Heroman3003/accessories-runtimes
Fixes nullspace clothes with accessories being deleted causing runtimes
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
has_suit.overlays += get_inv_overlay()
|
||||
|
||||
if(user)
|
||||
user << "<span class='notice'>You attach \the [src] to \the [has_suit].</span>"
|
||||
to_chat(user, "<span class='notice'>You attach \the [src] to \the [has_suit].</span>")
|
||||
add_fingerprint(user)
|
||||
|
||||
/obj/item/clothing/accessory/proc/on_removed(var/mob/user)
|
||||
@@ -87,7 +87,7 @@
|
||||
if(user)
|
||||
usr.put_in_hands(src)
|
||||
add_fingerprint(user)
|
||||
else
|
||||
else if(get_turf(src)) //We actually exist in space
|
||||
forceMove(get_turf(src))
|
||||
|
||||
//default attackby behaviour
|
||||
|
||||
Reference in New Issue
Block a user