mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
More globals (#19247)
* More globals * planets * . * . * Update jukebox.dm * Fix timer callback syntax in jukebox.dm * .
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user