about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-16 20:16:27 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-16 20:16:27 +0000
commitb03d26b8866e04567f21cee3fcd37a9ca673ea3b (patch)
tree5d04ea9eed4b826ab0102cb2d92b1e2b7b908a4c /src/game
parentb31d63b4d8574be79c15030421becf4980978514 (diff)
downloadzcatch-b03d26b8866e04567f21cee3fcd37a9ca673ea3b.tar.gz
zcatch-b03d26b8866e04567f21cee3fcd37a9ca673ea3b.zip
fixed so that the score is reported correctly
Diffstat (limited to 'src/game')
-rw-r--r--src/game/server/gs_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp
index 524b8dfc..cd1803f7 100644
--- a/src/game/server/gs_server.cpp
+++ b/src/game/server/gs_server.cpp
@@ -1039,6 +1039,8 @@ int player::handle_weapons()
 
 void player::tick()
 {
+	server_setclientscore(client_id, score);
+	
 	// check if we have enough input
 	// this is to prevent initial weird clicks
 	if(num_inputs < 2)