Skip to content

Commit

Permalink
Update redirector.dm (discordia-space#8513)
Browse files Browse the repository at this point in the history
  • Loading branch information
MLGTASTICa authored and MysticalFaceLesS committed Aug 16, 2024
1 parent 22ddc6e commit aa46da1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/machinery/excelsior/redirector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
return
to_chat(user, SPAN_NOTICE("You start rebooting \the [src] with new information. Your hands start moving by themselves like they're remotely guided to input new information."))
if(do_after(user, 15 SECONDS, src))
if(!rebootTimer)
to_chat(user, SPAN_NOTICE("\The [src] was already rebooted!"))
return
to_chat(user, SPAN_NOTICE("You succesfully reboot \the [src]. Your hands are no longer moving on their own."))
deltimer(rebootTimer)
var/datum/faction/excelsior/commies = get_faction_by_id(FACTION_EXCELSIOR)
Expand All @@ -126,6 +129,9 @@
for (var/datum/antagonist/A in commies.members)
to_chat(A.owner.current, SPAN_EXCEL_NOTIF("The [src]'s antenna is being bent by someone! Stop them."))
if(do_after(user, 1 MINUTE, src))
if(antennaBent)
to_chat(user, SPAN_NOTICE("\The [src]'s antenna is already bent!"))
return
stopRedirecting()
antennaBent = TRUE
icon_state = "redirector_bent"
Expand Down

0 comments on commit aa46da1

Please sign in to comment.