diff --git a/components/game/player/ListElement.vue b/components/game/player/ListElement.vue index b7165e6..e88ee01 100644 --- a/components/game/player/ListElement.vue +++ b/components/game/player/ListElement.vue @@ -8,12 +8,11 @@ export interface Props { game: Game; player: Player; focused?: boolean; - isTurn?: boolean; + isSelfTurn: boolean; self?: boolean; } const props = withDefaults(defineProps(), { - isTurn: () => false, self: () => false, }); @@ -43,7 +42,7 @@ function damage() { :class="{ self, focused, - isTurn, + isSelfTurn, }" >
@@ -68,24 +67,21 @@ function damage() {
- - +