(deli): Break the loop if player->aborted. Without that, it can
prompt for more input, violating the client protocol.
This commit is contained in:
parent
fee8ac9d8f
commit
5357aa15b9
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ deli(void)
|
||||||
if (!snxtsct(&nstr, player->argp[2]))
|
if (!snxtsct(&nstr, player->argp[2]))
|
||||||
return RET_SYN;
|
return RET_SYN;
|
||||||
|
|
||||||
while (nxtsct(&nstr, §) > 0) {
|
while (!player->aborted && nxtsct(&nstr, §) > 0) {
|
||||||
if (!player->owner)
|
if (!player->owner)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue