From 943d228e9871d77fdc21226b61e732bc1e8e7cd4 Mon Sep 17 00:00:00 2001 From: nicfreeman1209 Date: Sun, 2 May 2021 22:52:20 +0100 Subject: [PATCH] add 'on the block' indicator - after vote, ST chooses to put onto block / empty block / no change to block - player menu has add / remove from block - players are automatically removed from the block when (i) they die (ii) another player is put onto block - fixed crash on add/remove/etc player mid vote --- CHANGELOG.md | 2 + src/components/Menu.vue | 2 +- src/components/Player.vue | 69 +++++++++++++++++++++++++---------- src/components/TownSquare.vue | 7 ++++ src/components/Vote.vue | 21 +++++++++++ src/main.js | 1 + src/store/modules/players.js | 9 +++++ src/store/socket.js | 29 ++++++++++++--- 8 files changed, 115 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e62792b..7415615 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Release Notes +- add 'on the block' indicator + ### Version 2.12.0 - tweak reference sheet to better fit screen in single column layout - add warning icon overlay for setup roles on character assignment modal diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 40abc72..9b919c6 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -143,7 +143,7 @@ - +