Skip to content

Commit

Permalink
Signallers no longer hit the other signaller when you're copying freq…
Browse files Browse the repository at this point in the history
…uencies (#3889)

🆑
fix: Signallers no longer hit the other signaller when you're copying
frequencies
/🆑
  • Loading branch information
Erikafox authored Dec 7, 2024
1 parent 223db01 commit 47c9251
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/assembly/signaler.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@
update_appearance()

/obj/item/assembly/signaler/attackby(obj/item/W, mob/user, params)
if(issignaler(W))
if(issignaler(W) && secured)
var/obj/item/assembly/signaler/signaler2 = W
if(secured && signaler2.secured)
if(signaler2.secured)
code = signaler2.code
set_frequency(signaler2.frequency)
to_chat(user, "You transfer the frequency and code of \the [signaler2.name] to \the [name]")
return TRUE
..()

/obj/item/assembly/signaler/proc/signal()
Expand Down

0 comments on commit 47c9251

Please sign in to comment.