diff --git a/src/state/usr.rs b/src/state/usr.rs index d9c466c..7178e3d 100644 --- a/src/state/usr.rs +++ b/src/state/usr.rs @@ -4,8 +4,8 @@ use dreamluau_proc_macro::map_statics; use meowtonin::{byond_fn, ByondValue}; thread_local! { - static USR: RefCell> = RefCell::new(None); - static USR_STACK: RefCell>> = RefCell::new(vec![]); + static USR: RefCell> = const { RefCell::new(None) }; + static USR_STACK: RefCell>> = const { RefCell::new(vec![]) }; } /// Byondapi does not currently support natively getting `usr` from DM.