mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] fixed incorrect arguments being sent to employment record computer (#11068)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
37784ae9c8
commit
165014027d
@@ -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)
|
||||
|
||||
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user