From 764abf042db6017d89eeecf49809ad3fcd3ec5fb Mon Sep 17 00:00:00 2001 From: sD Date: Tue, 7 Apr 2020 17:59:36 +0200 Subject: get shout length from resources --- webAO/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO/client.js') 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; } -- cgit