]> git.cworth.org Git - empires-server/commit
game: Fix to actually drop connections that get closed
authorCarl Worth <cworth@cworth.org>
Thu, 25 Jun 2020 01:28:34 +0000 (18:28 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 26 Jun 2020 14:37:59 +0000 (07:37 -0700)
commit13553d82c4746db09ce801421f0e9a5efcc300bb
tree7cc60de3d2cab414308974b3f594d3487c5a7cdf
parent9334a439e495c088d088f986a2f73138530f1dbf
game: Fix to actually drop connections that get closed

The bug here is that filter() returns a new array, so I have to assign
the return value to the original reference for this code to have any
effect.
game.js