From: Mario Date: Mon, 13 Feb 2017 08:55:20 +0000 (+1000) Subject: Make sure player is killed in CTS if they clear all waypoints too X-Git-Tag: xonotic-v0.8.2~212 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=265b375810d1eb0c635da3bd9cc332b187309f91;p=xonotic%2Fxonotic-data.pk3dir.git Make sure player is killed in CTS if they clear all waypoints too --- diff --git a/qcsrc/server/impulse.qc b/qcsrc/server/impulse.qc index e072e9642..6a5354aaf 100644 --- a/qcsrc/server/impulse.qc +++ b/qcsrc/server/impulse.qc @@ -565,6 +565,8 @@ IMPULSE(waypoint_clear) { delete(this.personal); this.personal = NULL; + if((g_cts || g_race) && autocvar_g_allow_checkpoints) + ClientKill(this); } sprint(this, "all waypoints cleared\n"); }