rlgwebd.js: fix failure to respond.
The codepath for a watcher requesting to quit did not lead to any response being sent.
This commit is contained in:
parent
0e31c3a3b7
commit
674f570b63
1 changed files with 2 additions and 0 deletions
|
|
@ -720,6 +720,8 @@ function endgame(client, res) {
|
||||||
// Give things some time to happen.
|
// Give things some time to happen.
|
||||||
if (client instanceof Player)
|
if (client instanceof Player)
|
||||||
setTimeout(readFeed, 200, client, res);
|
setTimeout(readFeed, 200, client, res);
|
||||||
|
else
|
||||||
|
readFeed(client, res);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue