Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stops megaphone sound from playing #7105

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/megaphone.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
continue
listener.show_message("<B>[user]</B> broadcasts, [FONT_SIZE_LARGE("\"[message]\"")]", SHOW_MESSAGE_AUDIBLE) // 2 stands for hearable message
langchat_long_listeners += listener
playsound(loc, 'sound/items/megaphone.ogg', 100, FALSE, TRUE)
//playsound(loc, 'sound/items/megaphone.ogg', 100, FALSE, TRUE) // Stops playing. Commenting out so we can just plop a new sound in.
hislittlecuzingames marked this conversation as resolved.
Show resolved Hide resolved
user.langchat_long_speech(message, langchat_long_listeners, user.get_default_language())

COOLDOWN_START(src, spam_cooldown, spam_cooldown_time)
Loading