From: terencehill Date: Tue, 20 Nov 2012 21:45:28 +0000 (+0100) Subject: Do not centerprint the msg "You spawned after the round started, you'll spawn as... X-Git-Tag: xonotic-v0.7.0~61^2~114 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d292b6a49599725ba5cb29000904180d21af914;p=xonotic%2Fxonotic-data.pk3dir.git Do not centerprint the msg "You spawned after the round started, you'll spawn as frozen." when a player respawn after a death by DEATH_HURTTRIGGER. Also make the msg shorter --- diff --git a/qcsrc/server/mutators/gamemode_freezetag.qc b/qcsrc/server/mutators/gamemode_freezetag.qc index d4502f9b4..95c8790c3 100644 --- a/qcsrc/server/mutators/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/gamemode_freezetag.qc @@ -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(); }