Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Remove 2 instances of duplicate argument names #2224

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions code/datums/components/uplink.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
1 change: 0 additions & 1 deletion code/game/objects/items/storage/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
max_total_storage,
list/canhold,
list/canthold,
storage_type = /datum/storage,
storage_type,
)
// If no type was passed in, default to what we already have
Expand Down
2 changes: 1 addition & 1 deletion code/modules/lighting/lighting_area.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
UnregisterSignal(SSdcs, COMSIG_STARLIGHT_COLOR_CHANGED)
var/list/z_offsets = SSmapping.z_level_to_plane_offset
if(length(lighting_effects) > 1)
for(var/area_zlevel as anything in 1 to get_highest_zlevel())
for(var/area_zlevel in 1 to get_highest_zlevel())
if(z_offsets[area_zlevel])
for(var/turf/T as anything in get_turfs_by_zlevel(area_zlevel))
T.cut_overlay(lighting_effects[z_offsets[T.z] + 1])
Expand Down
Loading