]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
fix bug where realtime was used instead of cl.time in player times on scoreboard
[xonotic/darkplaces.git] / cl_parse.c
index 104696f122501e60f9252b08bf91d778e00181ac..17efad5bd4cf53c3281e4e75ff892def751d7768 100644 (file)
@@ -2370,7 +2370,7 @@ void CL_ParseServerMessage(void)
                                if (i >= cl.maxclients)
                                        Host_Error("CL_ParseServerMessage: svc_updateentertime >= cl.maxclients");
                                // seconds ago
-                               cl.scores[i].qw_entertime = realtime - MSG_ReadFloat();
+                               cl.scores[i].qw_entertime = cl.time - MSG_ReadFloat();
                                break;
 
                        case qw_svc_spawnbaseline: