mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[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:
co-authored by
san7890
wixoa
parent
dcb2d6754d
commit
6cb52ccd22
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user