aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-07 17:59:36 +0200
committersD <stoned@derpymail.org>2020-04-07 17:59:36 +0200
commit764abf042db6017d89eeecf49809ad3fcd3ec5fb (patch)
treedd7750277913ec1c950d3c8c1d8442d881ed1bdf /webAO/client.js
parent4ee2e89a6982088aaf28f9e8adf0dac807f9e86b (diff)
get shout length from resources
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 77b61bb..ead9d0c 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -1604,7 +1604,7 @@ async changeBackground(position) {
this.shoutaudio.src = shoutUrl;
this.shoutaudio.play();
- this.shoutTimer = 850;
+ this.shoutTimer = client.resources[shout]["duration"];
} else {
this.shoutTimer = 0;
}