]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
forced respawn in CTS
authorFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 18:42:15 +0000 (20:42 +0200)
committerFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 18:42:15 +0000 (20:42 +0200)
qcsrc/server/cl_client.qc

index c9cea7d214659dcb749685f26da1b0b6fbbb19cb..c1005d0036b9cd18f67eb3598956a4dd80a5fc23 100644 (file)
@@ -2723,7 +2723,7 @@ void PlayerPreThink (void)
                                if(frametime)
                                        player_anim();
                                button_pressed = (self.BUTTON_ATCK || self.BUTTON_JUMP || self.BUTTON_ATCK2 || self.BUTTON_HOOK || self.BUTTON_USE);
-                               force_respawn = (g_lms || (g_ca) || autocvar_g_forced_respawn);
+                               force_respawn = (g_lms || g_ca || g_cts || autocvar_g_forced_respawn);
                                if (self.deadflag == DEAD_DYING)
                                {
                                        if(force_respawn)