fix players scores being copied on player remove
This commit is contained in:
parent
83a61fb049
commit
7b637ab3e1
1 changed files with 1 additions and 1 deletions
2
play.c
2
play.c
|
@ -221,7 +221,7 @@ void removenickfromgame(Channel *c, Client *u) {
|
|||
gd->pd[i2]->u = gd->pd[(i2 + 1)]->u;
|
||||
gd->pd[i2]->score = gd->pd[(i2 + 1)]->score;
|
||||
for (i3 = 0 ; i3 < 15 ; i3++) {
|
||||
gd->pd[i2]->hand[13] = gd->pd[(i2 + 1)]->hand[i3];
|
||||
gd->pd[i2]->hand[i3] = gd->pd[(i2 + 1)]->hand[i3];
|
||||
}
|
||||
} else {
|
||||
gd->pd[i2]->u = NULL;
|
||||
|
|
Reference in a new issue