added blackjack game
[NeonServV5.git] / src / modules / NeonFun.mod / cmd_neonfun_uno.c
index 09a52678e28422e20d20c24bdf7f3d070aa33ec3..5742fa0076f61a1ab8d87e28e533c7ff973a23fd 100644 (file)
@@ -66,13 +66,13 @@ CMD_BIND(neonfun_cmd_uno) {
         player->chanuser = chanuser;
         player->count = 0;
         player->cards = NULL;
+        player->timeout = 0;
         player->prev = NULL;
         player->next = NULL;
         game->player = player;
         game->winner = NULL;
         game->active_player = NULL;
         game->players = 1;
-        game->active_player = 0;
         game->timer = timeq_add(30, module_id, uno_game_wait_timeout, game);
         game->next = uno_active_games;
         uno_active_games = game;