Damage(self, self, self, 1 , DEATH_KILL, self.origin, '0 0 0');
}
}
-
+
if(self.killindicator && !wasfreed(self.killindicator))
- remove(self.killindicator);
-
+ remove(self.killindicator);
+
self.killindicator = world;
if(self.killindicator_teamchange)
}
void KillIndicator_Think()
{
+ if (gameover)
+ {
+ if (self.owner.killindicator)
+ {
+ remove(self.owner.killindicator);
+ self.owner.killindicator = world;
+ }
+ return;
+ }
+
if (!self.owner.modelindex)
{
self.owner.killindicator = world;
{
float killtime;
entity e;
+
+ if (gameover)
+ {
+ if (self.killindicator)
+ {
+ remove(self.killindicator);
+ self.killindicator = world;
+ }
+ return;
+ }
+
killtime = autocvar_g_balance_kill_delay;
if(g_race_qualifying || g_cts)
void ClientKill (void)
{
+ if (gameover)
+ return;
+
if((g_arena || g_ca) && ((champion && champion.classname == "player" && player_count > 1) || player_count == 1)) // don't allow a kill in this case either
{
// do nothing
void DoTeamChange(float destteam)
{
float t, c0;
+
+ if (gameover)
+ {
+ if (self.killindicator)
+ {
+ remove(self.killindicator);
+ self.killindicator = world;
+ }
+ return;
+ }
+
if(!teamplay)
{
if(destteam >= 0)
SetPlayerColors(self, destteam);
return;
}
+
if(self.classname == "player")
if(destteam == -1)
{