mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Fixes emotes not initializing on start (#11220)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
783441e769
commit
e0d56115c4
@@ -5,7 +5,7 @@
|
||||
// - Impaired messages do not do any substitutions.
|
||||
|
||||
/proc/get_emote_by_key(var/key)
|
||||
if(!GLOB.emotes_by_key)
|
||||
if(!LAZYLEN(GLOB.emotes_by_key))
|
||||
decls_repository.get_decls_of_type(/decl/emote) // GLOB.emotes_by_key will be updated in emote Initialize()
|
||||
return GLOB.emotes_by_key[key]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user