diff options
| author | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2020-09-12 20:47:18 +0200 |
|---|---|---|
| committer | stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> | 2020-09-12 20:47:18 +0200 |
| commit | 9b130c2c48188ae0cb56e1a895964f056afd1afc (patch) | |
| tree | 4ae78c42030f06f7473876f7c86b793a20df4bcb /webAO | |
| parent | 0cafb4728ae5edec9bd3125f29df843f7dba7ffa (diff) | |
display the 2.8 UI if the server supports it
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js index 241742e..4127a5d 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1265,6 +1265,11 @@ class Client extends EventEmitter { if (args.includes("looping_sfx")) { document.getElementById("button_shake").style.display = ""; + document.getElementById("2.7").style.display = ""; + } + + if (args.includes("effects")) { + document.getElementById("2.8").style.display = ""; } } |
