[MIRROR] More globals (#12530)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-15 19:26:29 +01:00
committed by GitHub
co-authored by Kashargul
parent de8fed65df
commit 4f5dce5ebe
238 changed files with 984 additions and 1026 deletions
+6 -5
View File
@@ -46,11 +46,12 @@
// All accessed vars need to be cached during read.
// Get data from species, if this fails use cached data
#define SETUP_SPECIES_CHECK(p,x)\
var/datum/species/SP = species?.resolve();\
if(SP)\
cached_species_vars[p] = x;\
return cached_species_vars[p];
#define SETUP_SPECIES_CHECK(p, x) \
var/datum/species/SP = species?.resolve(); \
if (SP) { \
cached_species_vars[p] = x; \
} \
return cached_species_vars[p];
/datum/organ_data/proc/get_species_name()