mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[MIRROR] Makes flashlights do a clicky noise when they're turned on or off (#1425)
* Makes flashlights do a clicky noise when they're turned on or off (#54521) * Makes flashlights do a clicky noise when they're turned on or off Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
|
||||
/obj/item/flashlight/attack_self(mob/user)
|
||||
on = !on
|
||||
playsound(user, on ? 'sound/weapons/magin.ogg' : 'sound/weapons/magout.ogg', 40, TRUE)
|
||||
update_brightness(user)
|
||||
for(var/X in actions)
|
||||
var/datum/action/A = X
|
||||
|
||||
Reference in New Issue
Block a user