diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-08 17:29:09 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-08 17:29:09 +0800 |
commit | e45938e7be8491bf1115137c9d86e821b8f41526 (patch) | |
tree | 7d5e5e34d5249cc2f058fb508a391eae1c5dd022 /mbbsd | |
parent | 2017e981ca97528fee34398cdffcebb037a4d944 (diff) | |
download | pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.tar pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.tar.gz pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.tar.bz2 pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.tar.lz pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.tar.xz pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.tar.zst pttbbs-e45938e7be8491bf1115137c9d86e821b8f41526.zip |
also update rating in ram
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2230 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/chc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c index 06623a5f..54f58ea6 100644 --- a/mbbsd/chc.c +++ b/mbbsd/chc.c @@ -822,6 +822,7 @@ mainloop(int s, chcusr_t *user1, chcusr_t *user2, board_t board, play_func_t pla user1->tie++; currutmp->chc_tie++; } + currutmp->chess_elo_rating = user1->rating; user1->lose--; chcusr_put(&cuser, user1); passwd_update(usernum, &cuser); |