mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Code review improvements
This commit is contained in:
@@ -391,7 +391,7 @@ Class Procs:
|
||||
/obj/machinery/proc/exchange_parts(mob/user, obj/item/weapon/storage/part_replacer/W)
|
||||
if(!istype(W))
|
||||
return
|
||||
if(flags & NODECONSTRUCT && !W.works_from_distance)
|
||||
if((flags & NODECONSTRUCT) && !W.works_from_distance)
|
||||
return
|
||||
var/shouldplaysound = 0
|
||||
if(component_parts)
|
||||
|
||||
@@ -50,9 +50,6 @@
|
||||
qdel(user)
|
||||
return
|
||||
|
||||
/obj/item/weapon/storage/backpack/holding/can_be_inserted(obj/item/W, stop_messages = 0, mob/user)
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/storage/backpack/holding/content_can_dump(atom/dest_object, mob/user)
|
||||
if(Adjacent(user))
|
||||
if(get_dist(user, dest_object) < 8)
|
||||
|
||||
Reference in New Issue
Block a user