From 15e66c059f84a362e3d38dd483f224c6b9ca43b6 Mon Sep 17 00:00:00 2001 From: stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> Date: Tue, 29 Dec 2020 21:40:31 +0100 Subject: shoutMissing was a mistake --- webAO/client.html | 2 +- webAO/client.js | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'webAO') diff --git a/webAO/client.html b/webAO/client.html index 2c689d2..6ab9dc5 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -372,7 +372,7 @@

Shouts

- +

Testimony/Guilty

diff --git a/webAO/client.js b/webAO/client.js index dd4d486..3294a81 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -2458,17 +2458,6 @@ export function changeShoutVolume() { } window.changeShoutVolume = changeShoutVolume; -/** - * Triggered when the shout could not be found - */ -export function shoutMissing(self) { - if (self.src !== `${AO_HOST}misc/default/objection.opus`) { - self.src = `${AO_HOST}misc/default/objection.opus`; - self.play(); - } -} -window.shoutMissing = shoutMissing; - /** * Triggered by the testimony volume slider. */ -- cgit