From b0f74d9d94353653d837a3ec6ab86a20ab11f425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Pi=C3=B1ones?= Date: Fri, 1 Nov 2024 09:51:20 -0300 Subject: [PATCH] emit! ChallengePlayer --- src/models/status/round/challenge.cairo | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/status/round/challenge.cairo b/src/models/status/round/challenge.cairo index dfa56cf..0844935 100644 --- a/src/models/status/round/challenge.cairo +++ b/src/models/status/round/challenge.cairo @@ -50,6 +50,7 @@ impl ChallengeImpl of ChallengeTrait { let challenge_player = ChallengePlayer { game_id, discards: 5, plays: 5 }; ChallengePlayerStore::set(@challenge_player, world); + emit!(world, (challenge_player)); let mut game_deck = GameDeckStore::get(world, game_id); game_deck.restore(world);