mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Convert background prefs, and records to TG (#19417)
* attempt to migrate all background prefs.. * compiles * separate background and record prefs * move some things for clarity.. --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
b24cc0bce2
commit
222e4cdbdc
@@ -109,15 +109,15 @@ GLOBAL_VAR_INIT(client_record_update_lock, FALSE)
|
||||
// Update records in the consoles, remember this can happen a while after a record is closed on the console... Use cached data.
|
||||
switch(console_path)
|
||||
if(/obj/machinery/computer/med_data)
|
||||
P.med_record = new_data
|
||||
P.write_preference_by_type(/datum/preference/text/human/med_record, new_data)
|
||||
if(active)
|
||||
active.fields["notes"] = new_data
|
||||
if(/obj/machinery/computer/skills)
|
||||
P.gen_record = new_data
|
||||
P.write_preference_by_type(/datum/preference/text/human/gen_record, new_data)
|
||||
if(active)
|
||||
active.fields["notes"] = new_data
|
||||
if(/obj/machinery/computer/secure_data)
|
||||
P.sec_record = new_data
|
||||
P.write_preference_by_type(/datum/preference/text/human/sec_record, new_data)
|
||||
if(active)
|
||||
active.fields["notes"] = new_data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user