mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
don't assume it's a human (#9091)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/client/proc/player_effects(var/mob/target in mob_list)
|
/client/proc/player_effects(var/mob/target in mob_list)
|
||||||
set name = "Player Effects"
|
set name = "Player Effects"
|
||||||
set desc = "Modify a player character with various 'special treatments' from a list."
|
set desc = "Modify a player character with various 'special treatments' from a list."
|
||||||
set category = "Fun"
|
set category = "Fun.Event Kit" //CHOMPEdit
|
||||||
if(!check_rights(R_FUN))
|
if(!check_rights(R_FUN))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -529,7 +529,7 @@
|
|||||||
|
|
||||||
/client/verb/game_options()
|
/client/verb/game_options()
|
||||||
set name = "Game Options"
|
set name = "Game Options"
|
||||||
set category = "Preferences"
|
set category = "Preferences.Game" //CHOMPEdit
|
||||||
if(prefs)
|
if(prefs)
|
||||||
prefs.tgui_interact(usr)
|
prefs.tgui_interact(usr)
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
/decl/emote/audible/gasp/get_emote_sound(var/atom/user)
|
/decl/emote/audible/gasp/get_emote_sound(var/atom/user)
|
||||||
..()
|
..()
|
||||||
|
if(ishuman(user))
|
||||||
var/mob/living/carbon/human/H = user
|
var/mob/living/carbon/human/H = user
|
||||||
// CHOMPEdit: Standardize Species Sounds Getters
|
// CHOMPEdit: Standardize Species Sounds Getters
|
||||||
var/vol = H.species.gasp_volume
|
var/vol = H.species.gasp_volume
|
||||||
|
|||||||
Reference in New Issue
Block a user