X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonFun.mod%2Fcmd_neonfun_uno.c;h=5742fa0076f61a1ab8d87e28e533c7ff973a23fd;hb=9f992f346db24a642e3fe5362ae377ebe9002aa7;hp=5517a70b53b86406d4259a526c281539e79b4935;hpb=f28a6cf114ec097583236a82aab0dbf52c4852c4;p=NeonServV5.git diff --git a/src/modules/NeonFun.mod/cmd_neonfun_uno.c b/src/modules/NeonFun.mod/cmd_neonfun_uno.c index 5517a70..5742fa0 100644 --- a/src/modules/NeonFun.mod/cmd_neonfun_uno.c +++ b/src/modules/NeonFun.mod/cmd_neonfun_uno.c @@ -1,4 +1,4 @@ -/* cmd_neonfun_uno.c - NeonServ v5.5 +/* cmd_neonfun_uno.c - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -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;