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 501374b commit 5bb8fe3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions code/game/machinery/outpost_electrolyzer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@

if(!resolved_output)
return
for(var/i in to_electrolyze)
var/atom/movable/AM = i
if(istype(AM, /obj/item/stack/ore/ice))
electrolyze += AM
else
not_electrolyzed = 1
if(isliving(AM))
crush_living(AM)
for(var/atom/movable/target as anything in to_electrolyze)
if(istype(target, /obj/item/stack/ore/ice))
electrolyze += target
continue

Check failure on line 80 in code/game/machinery/outpost_electrolyzer.dm

View workflow job for this annotation

GitHub Actions / Run Linters

Check Regex

superflous whitespace added to here, remove or update check_regex.yml
not_electrolyzed = TRUE
if(isliving(target))
crush_living(target)
if(not_electrolyzed)
playsound(src, 'sound/machines/buzz-sigh.ogg', 50, FALSE, 1) // Dont play a ton of sounds for a ton of items
for(var/electro in electrolyze)
Expand Down

0 comments on commit 5bb8fe3

Please sign in to comment.