]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Do not centerprint the msg "You spawned after the round started, you'll spawn as...
authorterencehill <piuntn@gmail.com>
Tue, 20 Nov 2012 21:45:28 +0000 (22:45 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 20 Nov 2012 21:45:28 +0000 (22:45 +0100)
qcsrc/server/mutators/gamemode_freezetag.qc

index d4502f9b46cd07a4e7fea30835207c8921f54bb8..95c8790c3055c720c448b9494996ee41bd552727 100644 (file)
@@ -340,7 +340,8 @@ MUTATOR_HOOKFUNCTION(freezetag_PlayerSpawn)
 
        if(warmup && time > warmup) // spawn too late, freeze player
        {
-               centerprint(self, "^1You spawned after the round started, you'll spawn as frozen.\n");
+               if(!next_round) // no msg if player respawn after a death by DEATH_HURTTRIGGER
+                       centerprint(self, "^1Round already started, you spawn as frozen.");
                freezetag_Freeze(world);
                freezetag_remove_alive();
        }