From 65a1d028da85e251090480cf3f4f85b9a846e63b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Pi=C3=B1ones?= Date: Sat, 2 Nov 2024 21:57:44 -0300 Subject: [PATCH] fix pack adventurer --- src/systems/game_system.cairo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systems/game_system.cairo b/src/systems/game_system.cairo index df89216..91c5e3f 100644 --- a/src/systems/game_system.cairo +++ b/src/systems/game_system.cairo @@ -50,7 +50,7 @@ mod game_system { use core::nullable::NullableTrait; use dojo::world::Resource::Contract; use jokers_of_neon::constants::card::{JOKER_CARD, NEON_JOKER_CARD, INVALID_CARD}; - use jokers_of_neon::constants::packs::{SPECIAL_CARDS_PACK_ID, MODIFIER_CARDS_PACK_ID, REWARD_CARDS_PACK_ID, SPECIALS_BLISTER_PACK}; + use jokers_of_neon::constants::packs::{SPECIAL_CARDS_PACK_ID, MODIFIER_CARDS_PACK_ID, REWARD_CARDS_PACK_ID, SPECIALS_BLISTER_PACK_ID}; use jokers_of_neon::constants::reward::{REWARD_HP_POTION, REWARD_BLISTER_PACK, REWARD_SPECIAL_CARDS}; use jokers_of_neon::constants::specials::{ SPECIAL_MULTI_FOR_HEART_ID, SPECIAL_MULTI_FOR_CLUB_ID, SPECIAL_MULTI_FOR_DIAMOND_ID, SPECIAL_MULTI_FOR_SPADE_ID, @@ -310,7 +310,7 @@ mod game_system { game.substate = GameSubState::DRAFT_ADVENTURER_CARDS; store.set_game(game); - let cards = open_blister_pack(world, ref store, game, SPECIALS_BLISTER_PACK); + let cards = open_blister_pack(world, ref store, game, SPECIALS_BLISTER_PACK_ID); let blister_pack_result = BlisterPackResult { game_id, cards_picked: false, cards }; emit!(world, (blister_pack_result)); store.set_blister_pack_result(blister_pack_result);