mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fix ghosts being able to spam sounds to players. (#9141)
This commit is contained in:
@@ -240,7 +240,7 @@
|
||||
if (use_sound)
|
||||
//CHOMPStation Edit
|
||||
var/obj/belly/B = user.loc
|
||||
if(!isbelly(B) || !(B.mode_flags & DM_FLAG_MUFFLEITEMS))
|
||||
if(isliving(user) && (!isbelly(B) || !(B.mode_flags & DM_FLAG_MUFFLEITEMS)))
|
||||
playsound(src, src.use_sound, 50, 0, -5)
|
||||
//CHOMPStation Edit end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user