mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Fixes a runtime with gasp emote (#22094)
* Robots can't gasp * Update code/modules/mob/living/carbon/human/human_emote.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -163,7 +163,10 @@
|
||||
volume = 100
|
||||
|
||||
/datum/emote/living/carbon/human/gasp/get_sound(mob/user)
|
||||
if(!ishuman(user))
|
||||
return
|
||||
var/mob/living/carbon/human/H = user
|
||||
|
||||
if(H.is_muzzled())
|
||||
// If you're muzzled you're not making noise
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user