fixed incorrect arguments being sent to employment record computer (#17859)

This commit is contained in:
Will
2025-06-14 05:32:58 -04:00
committed by GitHub
parent e2ccbc9b37
commit 243b46b593
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)"