From 165014027db01abec957f96e3367c8b3c888ab69 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Sat, 14 Jun 2025 11:49:40 -0700 Subject: [PATCH] [MIRROR] fixed incorrect arguments being sent to employment record computer (#11068) Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> --- code/game/machinery/computer/skills.dm | 2 +- code/modules/client/record_updater.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/computer/skills.dm b/code/game/machinery/computer/skills.dm index 2cade92a9a..fce51ce7cb 100644 --- a/code/game/machinery/computer/skills.dm +++ b/code/game/machinery/computer/skills.dm @@ -216,7 +216,7 @@ set_temp("All employment records deleted.") if("sync_r") if(active1) - set_temp(client_update_record(src,active1,ui.user)) + set_temp(client_update_record(src,ui.user)) if("edit_notes") // The modal input in tgui is busted for this sadly... var/new_notes = strip_html_simple(tgui_input_text(ui.user,"Enter new information here.","Character Preference", html_decode(active1.fields["notes"]), MAX_RECORD_LENGTH, TRUE, prevent_enter = TRUE), MAX_RECORD_LENGTH) diff --git a/code/modules/client/record_updater.dm b/code/modules/client/record_updater.dm index e96e77bd84..a992fb93aa 100644 --- a/code/modules/client/record_updater.dm +++ b/code/modules/client/record_updater.dm @@ -19,7 +19,7 @@ var/global/client_record_update_lock = FALSE if(!COM || QDELETED(COM)) return "Invalid console" - if(jobban_isbanned(user, "Records") ) + if(jobban_isbanned(user, JOB_RECORDS) ) COM.visible_message(span_notice("\The [COM] buzzes!")) playsound(COM, 'sound/machines/deniedbeep.ogg', 50, 0) return "Update syncronization denied (OOC: You are banned from editing records)"