Skip to content

Commit

Permalink
Update scanners.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers authored May 9, 2024
1 parent af17507 commit d359b46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/objects/items/devices/scanners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,15 @@ FORENSIC SCANNER
holder = E.reagents
for(var/obj/container in E.containers)
scan(container)
else if(istype(O,/obj/item/ammo_magazine/rocket/custom))
else if(istype(O, /obj/item/ammo_magazine/rocket/custom))
var/obj/item/ammo_magazine/rocket/custom/E = O
if(!E.warhead)
to_chat(user, SPAN_NOTICE("No warhead detected in [E]."))
return
holder = E.warhead.reagents
for(var/obj/container in E.warhead.containers)
scan(container)
else if(istype(O,/obj/item/mortar_shell/custom))
else if(istype(O, /obj/item/mortar_shell/custom))
var/obj/item/mortar_shell/custom/E = O
if(!E.warhead)
to_chat(user, SPAN_NOTICE("No warhead detected in [E]."))
Expand All @@ -366,7 +366,7 @@ FORENSIC SCANNER
scan(container)
else if(istype(O, /obj/structure/ship_ammo/rocket/custom_missile))
var/obj/structure/ship_ammo/rocket/custom_missile/missile = O
if (missile.containers.len < 1)
if (length(missile.containers) < 1)
to_chat(user, SPAN_NOTICE("No containers detected in [missile]."))
return

Expand Down

0 comments on commit d359b46

Please sign in to comment.