mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-07-19 20:23:56 +01:00
3 lines
202 B
Plaintext
3 lines
202 B
Plaintext
/// Checks if potential_weakref is a weakref of thing.
|
|
#define IS_WEAKREF_OF(thing, potential_weakref) (istype(thing, /datum) && !isnull(potential_weakref) && thing.weak_reference == potential_weakref)
|