mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
This commit is contained in:
@@ -30,21 +30,21 @@
|
||||
|
||||
// I really, really wish I didn't have to split this into two seperate loops. But the datacore is awful.
|
||||
|
||||
for(var/record in data_core.general)
|
||||
for(var/record in GLOB.data_core.general)
|
||||
var/datum/data/record/S = record
|
||||
if(S && (search == lowertext(S.fields["fingerprint"]) || search == lowertext(S.fields["name"])))
|
||||
name = S.fields["name"]
|
||||
fingerprint = S.fields["fingerprint"]
|
||||
continue
|
||||
|
||||
for(var/record in data_core.medical)
|
||||
for(var/record in GLOB.data_core.medical)
|
||||
var/datum/data/record/M = record
|
||||
if(M && ( search == lowertext(M.fields["b_dna"]) || name == M.fields["name"]) )
|
||||
dna = M.fields["b_dna"]
|
||||
|
||||
if(fingerprint == "FINGERPRINT NOT FOUND") // We have searched by DNA, and do not have the relevant information from the fingerprint records.
|
||||
name = M.fields["name"]
|
||||
for(var/gen_record in data_core.general)
|
||||
for(var/gen_record in GLOB.data_core.general)
|
||||
var/datum/data/record/S = gen_record
|
||||
if(S && (name == S.fields["name"]))
|
||||
fingerprint = S.fields["fingerprint"]
|
||||
|
||||
Reference in New Issue
Block a user