]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_weaponsystem.qc
Hopefully fix a bug causing display digits to appear as floating near the player...
[voretournament/voretournament.git] / data / qcsrc / server / cl_weaponsystem.qc
index dedc00ba75aa1fe5cb1ec6eaefaf3d2c4e3ca8b3..85d65d47022c1e3d1e42e427e4f54b3f46e9c427 100644 (file)
@@ -1587,7 +1587,7 @@ void W_DisplayDigitThink()
        self.nextthink = time;\r
 \r
        // the owner has switched to another weapon, remove the digits\r
-       if(self.weapon != self.owner.weapon)\r
+       if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.deadflag != DEAD_NO)\r
        {\r
                self.nextthink = 0;\r
                remove(self);\r