Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Drathek <[email protected]>
  • Loading branch information
vero5123 and Drulikar committed May 24, 2024
1 parent 4801d71 commit 0b47e4a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/computer/security.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
if(operable())
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH LOGOUT: Session end confirmed.\"")
else
to_chat(usr, "You remove \the [user_id_card] from \the [src].")
to_chat(usr, "You remove [user_id_card] from [src].")
authenticated = FALSE
user_id_card = null
else
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/medical_pod/autodoc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@
var/human_ref = WEAKREF(H)
N = retrieve_record(record_id_ref = H.record_id_ref, mob_ref = human_ref, record_type = RECORD_TYPE_MEDICAL)
if(isnull(N))
visible_message("\The [src] buzzes: No records found for occupant.")
src.go_out() //kick them out too.
visible_message("[src] buzzes: No records found for occupant.")
go_out() //kick them out too.
return

var/list/surgery_todo_list = N.fields["autodoc_manual"]
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/medical_pod/bodyscanner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
N.fields["last_tgui_scan_result"] = last_health_display.ui_data(user, DETAIL_LEVEL_BODYSCAN)
N.fields[MOB_AUTODOC_DATA] = generate_autodoc_surgery_list(H)
visible_message(SPAN_NOTICE("\The [src] pings as it stores the scan report of [H.real_name]"))
playsound(src.loc, 'sound/machines/screen_output1.ogg', 25)
playsound(loc, 'sound/machines/screen_output1.ogg', 25)

last_health_display.look_at(user, DETAIL_LEVEL_BODYSCAN, bypass_checks = TRUE)

Expand Down
6 changes: 3 additions & 3 deletions code/modules/cm_marines/marines_consoles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
if(operable()) // Powered. Console can response.
visible_message("[SPAN_BOLD("[src]")] states, \"AUTH LOGOUT: Session end confirmed.\"")
else
to_chat(usr, "You remove \the [user_id_card] from \the [src].")
to_chat(usr, "You remove [user_id_card] from [src].")
authenticated = FALSE // No card - no access
user_id_card = null

Expand All @@ -86,7 +86,7 @@
target_id_card.name = text("[target_id_card.registered_name]'s ID Card ([target_id_card.assignment])")
visible_message("[SPAN_BOLD("[src]")] states, \"CARD EJECT: Data imprinted. Updating database... Success.\"")
else
to_chat(usr, "You remove \the [target_id_card] from \the [src].")
to_chat(usr, "You remove [target_id_card] from [src].")
target_id_card = null

else
Expand Down Expand Up @@ -651,7 +651,7 @@
if(!user_id_card || !target_id_card || person_to_modify || user.name == user_id_card.registered_name)
return

user.visible_message(SPAN_NOTICE("You hear a beep as [user]'s hand is scanned to \the [name]."))
user.visible_message(SPAN_NOTICE("You hear a beep as [user]'s hand is scanned to [name]."))
visible_message("[SPAN_BOLD("[src]")] states, \"SCAN ENTRY: Scanned, please stay close until operation's end.\"")
playsound(user.loc, 'sound/machines/screen_output1.ogg', 25, 1)
person_to_modify = user
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
prev_gender = gender // Debug for plural genders

if(SSticker?.mode?.hardcore)
hardcore = TRUE //For WO disposing of corpsess
hardcore = TRUE //For WO disposing of corpses

/mob/living/carbon/human/initialize_pass_flags(datum/pass_flags_container/PF)
..()
Expand Down

0 comments on commit 0b47e4a

Please sign in to comment.