Merge pull request #7920 from deathride58/noisyflashlights
noisy flashlights - makes flashlights play a sound when toggled
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
/obj/item/flashlight/attack_self(mob/user)
|
||||
on = !on
|
||||
update_brightness(user)
|
||||
playsound(user, on ? 'sound/weapons/magin.ogg' : 'sound/weapons/magout.ogg', 40, 1)
|
||||
for(var/X in actions)
|
||||
var/datum/action/A = X
|
||||
A.UpdateButtonIcon()
|
||||
|
||||
Reference in New Issue
Block a user