Skip to content

Commit

Permalink
Update code/game/machinery/outpost_electrolyzer.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Suckerberg <[email protected]>
Signed-off-by: HelmCrab <[email protected]>
  • Loading branch information
Thera-Pissed and MarkSuckerberg authored Nov 9, 2023
1 parent b5c786f commit c3ff4ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/game/machinery/outpost_electrolyzer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
/obj/machinery/mineral/electrolyzer_unloader/pickup_item(datum/source, atom/movable/target, atom/oldLoc)
if(istype(target, /obj/structure/ore_box))
var/obj/structure/ore_box/box = target
for(var/obj/item/stack/ore/ice/O in box)
unload_mineral(O)
for(var/obj/item/stack/ore/ice/chunk in box)
unload_mineral(chunk)
else if(istype(target, /obj/item/stack/ore/ice))
var/obj/item/stack/ore/O = target
unload_mineral(O)
var/obj/item/stack/ore/chunk = target
unload_mineral(chunk)

/obj/machinery/mineral/electrolyzer
name = "ice crusher"
Expand Down

0 comments on commit c3ff4ff

Please sign in to comment.