[Commit] rrserver games.5c,1.16,1.17
Keith Packard
commit at keithp.com
Sat May 31 19:29:35 PDT 2003
Committed by: keithp
Update of /local/src/CVS/rrserver
In directory home.keithp.com:/tmp/cvs-serv21846
Modified Files:
games.5c
Log Message:
Forgot to remove game reference from client on part
Index: games.5c
===================================================================
RCS file: /local/src/CVS/rrserver/games.5c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- games.5c 31 May 2003 16:13:29 -0000 1.16
+++ games.5c 1 Jun 2003 01:29:32 -0000 1.17
@@ -385,6 +385,7 @@
return;
&Game g = &c.game.game;
Array::remove (&g.clients, &c);
+ c.game = GameRef.none;
game_send (&g, "NOTICE PART %s\n", c.user.username);
/* correct the state if necessary */
switch (g.state) {
More information about the Commit
mailing list