diff options
-rw-r--r-- | play.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -275,6 +275,13 @@ function on_init() { return on_init_once = true + let favicon = document.querySelector('link[rel="icon"]') + switch (params.role) { + case "Anarchist": favicon.href = "images/tokens150/player_anarchist.png"; break + case "Communist": favicon.href = "images/tokens150/player_communist.png"; break + case "Moderate": favicon.href = "images/tokens150/player_moderate.png"; break + } + ui.roles_list = document.getElementById("roles"), ui.roles = [ document.getElementById("role_Anarchist"), |