mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
[MIRROR] Refactors move procs to support multitle objects (#6423)
* Refactors move procs to support multitle objects * Update _blob.dm Co-authored-by: Rohesie <rohesie@gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
Rohesie
Gandalf
parent
3d784d4c1e
commit
d85a02babd
@@ -47,11 +47,11 @@
|
||||
else
|
||||
to_chat(user, span_notice("There are no modifications currently installed."))
|
||||
|
||||
/obj/item/gun/energy/kinetic_accelerator/Exited(atom/A)
|
||||
if(modkits.len && (A in modkits))
|
||||
var/obj/item/borg/upgrade/modkit/MK = A
|
||||
/obj/item/gun/energy/kinetic_accelerator/Exited(atom/movable/gone, direction)
|
||||
if(gone in modkits)
|
||||
var/obj/item/borg/upgrade/modkit/MK = gone
|
||||
MK.uninstall(src)
|
||||
. = ..()
|
||||
return ..()
|
||||
|
||||
/obj/item/gun/energy/kinetic_accelerator/attackby(obj/item/I, mob/user)
|
||||
if(istype(I, /obj/item/borg/upgrade/modkit))
|
||||
|
||||
Reference in New Issue
Block a user