[MIRROR] Remove 2 instances of duplicate argument names (#26716)

* Remove 2 instances of duplicate argument names (#81757)

## About The Pull Request

I fixed 2 instances of procs having multiple arguments with the same
name. BYOND does not error on these, instead ignoring all but the last.
It's best to remove these for clarity.

## Why It's Good For The Game

N/A

---------

Co-authored-by: san7890 <the@ san7890.com>

* Remove 2 instances of duplicate argument names

---------

Co-authored-by: wixoa <wixoag@gmail.com>
Co-authored-by: san7890 <the@ san7890.com>
This commit is contained in:
SkyratBot
2024-03-05 17:31:04 -05:00
committed by GitHub
co-authored by san7890 wixoa
parent dcb2d6754d
commit 6cb52ccd22
3 changed files with 6 additions and 7 deletions
+5 -5
View File
@@ -375,18 +375,18 @@
// PDA signal responses
/datum/component/uplink/proc/new_ringtone(datum/source, atom/source, new_ring_text)
/datum/component/uplink/proc/new_ringtone(datum/source, mob/living/user, new_ring_text)
SIGNAL_HANDLER
if(trim(lowertext(new_ring_text)) != trim(lowertext(unlock_code)))
if(trim(lowertext(new_ring_text)) == trim(lowertext(failsafe_code)))
failsafe(source)
failsafe(user)
return COMPONENT_STOP_RINGTONE_CHANGE
return
locked = FALSE
if(ismob(source))
interact(null, source)
to_chat(source, span_hear("The computer softly beeps."))
if(ismob(user))
interact(null, user)
to_chat(user, span_hear("The computer softly beeps."))
return COMPONENT_STOP_RINGTONE_CHANGE
/datum/component/uplink/proc/check_detonate()