diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 1f23311..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/onchain/.DS_Store b/onchain/.DS_Store deleted file mode 100644 index 9a5e219..0000000 Binary files a/onchain/.DS_Store and /dev/null differ diff --git a/onchain/src/systems/game_actions.cairo b/onchain/src/systems/game_actions.cairo index ca6c2eb..91d15a2 100644 --- a/onchain/src/systems/game_actions.cairo +++ b/onchain/src/systems/game_actions.cairo @@ -166,7 +166,6 @@ mod GameActions { fn join_game( ref world: IWorldDispatcher, game_id: u64, player_username: felt252, player_color: felt252 ) { let mut game: Game = get!(world, game_id, (Game)); - // Check if the game is pending assert(game.game_status == GameStatus::Waiting, 'Game is not pending'); let mut player: Player = get!(world, player_username, (Player));