mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
9 lines
304 B
Plaintext
9 lines
304 B
Plaintext
//setter for KEEP_TOGETHER to allow for multiple sources to set and unset it
|
|
#define ADD_KEEP_TOGETHER(x, source)\
|
|
LAZYADD(x.keep_together_sources, source);\
|
|
x.update_keep_together()
|
|
|
|
#define REMOVE_KEEP_TOGETHER(x, source)\
|
|
LAZYREMOVE(x.keep_together_sources, source);\
|
|
x.update_keep_together()
|