]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/impulse.qc
Abuse the new hidden option to make a kind of 'practice' mode for CTS
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / impulse.qc
index 57aaf4a2b51ae1208470cc4bdf3a3deeca573624..e072e9642af4db95eb73cd152b27e87da8d1f664 100644 (file)
@@ -551,6 +551,9 @@ IMPULSE(waypoint_clear_personal)
        {
                delete(this.personal);
                this.personal = NULL;
+
+               if((g_cts || g_race) && autocvar_g_allow_checkpoints)
+                       ClientKill(this);
        }
        sprint(this, "personal waypoint cleared\n");
 }