]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
respawn delay fix Juhu/instant_respawn_angle
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Sat, 10 Jun 2023 04:38:17 +0000 (06:38 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Sat, 10 Jun 2023 04:38:17 +0000 (06:38 +0200)
qcsrc/server/client.qc

index 2bbaf2490c92bc85c4f471a2562cf09982daa229..15cb4e6e142a0d4fb6a6740c251f16e639e57c8c 100644 (file)
@@ -1478,7 +1478,7 @@ void respawn(entity this)
 // prevent darkplaces from interpolating the respawn angle by delaying respawn by one frame
 void delay_respawn(entity this)
 {
-       if(this.count <= time)
+       if(this.count >= time)
        {
                this.nextthink = time;
                return;