From 33b0158558db50befee97e0ff9941f2e5d65f05d Mon Sep 17 00:00:00 2001 From: Giulio Date: Tue, 22 Jun 2021 16:03:41 +0200 Subject: [PATCH] fix starting error --- frontend/src/components/Player.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Player.vue b/frontend/src/components/Player.vue index a31fce1..15c13df 100644 --- a/frontend/src/components/Player.vue +++ b/frontend/src/components/Player.vue @@ -136,7 +136,9 @@ export default { this.name = self.name this.pending_action = self.pending_action this.character = self.character - this.character.is_character = true + if (this.character != null) { + this.character.is_character = true + } this.hand = self.hand this.equipment = self.equipment this.lives = self.lives