some more globals (#19098)

* some more globals

* .
This commit is contained in:
Kashargul
2026-01-29 18:21:58 +01:00
committed by GitHub
parent 24e68536bc
commit fdfb49012b
50 changed files with 164 additions and 176 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
var/list/_default_mob_emotes = list(
GLOBAL_LIST_INIT(default_mob_emotes, list(
/decl/emote/visible,
/decl/emote/visible/scratch,
/decl/emote/visible/drool,
@@ -23,4 +23,4 @@ var/list/_default_mob_emotes = list(
/decl/emote/audible/choke,
/decl/emote/audible/moan,
/decl/emote/audible/gnarl,
)
))
+1 -1
View File
@@ -4,7 +4,7 @@
var/last_emote_summary
/mob/proc/get_available_emotes()
return global._default_mob_emotes.Copy()
return GLOB.default_mob_emotes.Copy()
/mob/proc/can_emote(var/emote_type)
return (stat == CONSCIOUS)