Fixes emotes not initializing on start (#18037)

This commit is contained in:
Cameron Lennox
2025-07-22 03:49:28 -04:00
committed by GitHub
parent 69344afad8
commit c7d970591d
+1 -1
View File
@@ -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]