Skip to content

Commit

Permalink
small stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Pockets-byte committed Sep 10, 2024
1 parent d211a01 commit 8d3ff18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
to_chat(user, "<span class='notice'>You being aligning the lenses.</span>")
while(alignment < 100)
if(!do_after(user, 5, target = src))
return ..()
return TRUE
alignment += rand(1,2)
if(alignment >= 100)
alignment = 100
Expand All @@ -404,6 +404,6 @@
return ..()

/obj/machinery/ship_weapon/energy/Destroy()
for(var/obj/machinery/cooling/E in storages & coolers)
for(var/obj/machinery/cooling/E in storages | coolers)
E.parent = null
. = ..()

0 comments on commit 8d3ff18

Please sign in to comment.