mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 03:21:42 +00:00
use static for shared member vars
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#define GLOBAL_REAL(X, Typepath) var/global##Typepath/##X
|
||||
|
||||
// Defines a global var on the controller, do not use outside this file.
|
||||
#define GLOBAL_RAW(X) /datum/controller/global_vars/var/global##X
|
||||
#define GLOBAL_RAW(X) /datum/controller/global_vars/var/static##X
|
||||
|
||||
// Create an untyped global with an initializer expression
|
||||
#define GLOBAL_VAR_INIT(X, InitValue) GLOBAL_RAW(/##X); GLOBAL_MANAGED(X, InitValue)
|
||||
|
||||
Reference in New Issue
Block a user