Skip to content

Commit

Permalink
inop
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Nov 6, 2023
1 parent ab78b81 commit 521dd23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/machinery/fusion_engine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@
if(!do_after(user, 1.5 SECONDS, INTERRUPT_ALL|BEHAVIOR_IMMOBILE, BUSY_ICON_BUILD))
return

if(inoperable())
return

to_chat(user, SPAN_WARNING("You finish overloading the safeties on [src]."))
set_overloading(TRUE)
log_game("[key_name(user)] has overloaded a generator.")
Expand All @@ -296,6 +299,9 @@
if(!do_after(user, 1.5 SECONDS, INTERRUPT_ALL|BEHAVIOR_IMMOBILE, BUSY_ICON_BUILD))
return

if(inoperable())
return

to_chat(user, SPAN_WARNING("You finish restoring the safeties on [src]."))
log_game("[key_name(user)] has restored the safeties of a generator.")
set_overloading(FALSE)
Expand Down

0 comments on commit 521dd23

Please sign in to comment.