projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed 4wins game counter and prevent players playing against their selves...
[NeonServV5.git]
/
src
/
modules
/
NeonFun.mod
/
game_uno.c
diff --git
a/src/modules/NeonFun.mod/game_uno.c
b/src/modules/NeonFun.mod/game_uno.c
index 4f17aebe40ac4188844bab73883f51ce72d8f13d..1500c243b44fdb0e091b26571f8c957733cb642f 100644
(file)
--- a/
src/modules/NeonFun.mod/game_uno.c
+++ b/
src/modules/NeonFun.mod/game_uno.c
@@
-276,7
+276,7
@@
TIMEQ_CALLBACK(uno_game_wait_timeout) {
struct uno_game *game = data;
game->timer = NULL;
if(game->players == 1) {
- //TEXT: too less users
+ uno_reply(game, NULL, "NF_UNO_LESS_PLAYERS");
uno_free_game(game);
return;
}