if(tvalid)
{
- float myrecordtime = e.race_checkpoint_record[cp];
- if (autocvar_g_race_cptimes_onlyself) {
- recordtime = myrecordtime;
- recordtime = race_checkpoint_records[cp];
- recordholder = strcat(race_checkpoint_recordholders[cp]); // make a tempstring copy, as we'll possibly strunzone it!
- if(recordholder == e.netname)
++ if (autocvar_g_race_cptimes_onlyself)
++ {
++ // return their own checkpoint time
++ recordtime = e.race_checkpoint_record[cp];
recordholder = "";
- } else {
++ }
++ else
++ {
+ recordtime = race_checkpoint_records[cp];
+ // make a tempstring copy, as we'll possibly strunzone it
+ recordholder = strcat(race_checkpoint_recordholders[cp]);
+
+ if(recordholder == e.netname)
+ recordholder = "";
+ }
+
if(t != 0)
{
if(cp == race_timed_checkpoint)