diff options
| author | sD <stoned@derpymail.org> | 2020-04-07 17:59:36 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-04-07 17:59:36 +0200 |
| commit | 764abf042db6017d89eeecf49809ad3fcd3ec5fb (patch) | |
| tree | dd7750277913ec1c950d3c8c1d8442d881ed1bdf /webAO | |
| parent | 4ee2e89a6982088aaf28f9e8adf0dac807f9e86b (diff) | |
get shout length from resources
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 2 |
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; } |
