]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/tturrets.qc
After the MOTD self-expired normally, when joining the game it was shown again quickl...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / tturrets.qc
index 15e972c109c9f279ac7718c318bc0c5bcd0c519f..caca8ca04aab2de27e222b9b0a8486fddfc1af3e 100644 (file)
@@ -227,7 +227,6 @@ void turret_draw()
     
 }
 
-
 void turret_walker_draw()
 {        
     float dt;
@@ -499,8 +498,9 @@ void ent_turret()
             self.team = _team;
             turret_changeteam();        
         }
+        
+        if(self.health == 0)
+            turret_die();
     } 
     
-    if(self.health == 0)
-        turret_die();
 }