(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]))
|
||||
return RET_SYN;
|
||||
|
||||
while (nxtsct(&nstr, §) > 0) {
|
||||
while (!player->aborted && nxtsct(&nstr, §) > 0) {
|
||||
if (!player->owner)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue