[nexuiz-commits] r8487 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 6 10:32:15 EST 2010


Author: fruitiex
Date: 2010-01-06 10:32:15 -0500 (Wed, 06 Jan 2010)
New Revision: 8487

Modified:
   trunk/data/qcsrc/server/gamecommand.qc
Log:
fix output of movetoteam command, the id was sometimes destroyed by MoveToTeam()


Modified: trunk/data/qcsrc/server/gamecommand.qc
===================================================================
--- trunk/data/qcsrc/server/gamecommand.qc	2010-01-06 15:12:24 UTC (rev 8486)
+++ trunk/data/qcsrc/server/gamecommand.qc	2010-01-06 15:32:15 UTC (rev 8487)
@@ -881,9 +881,9 @@
 				print("Sorry, team ", argv(2), " doesn't exist\n");
 				return;
 		}
+		print("Player ", argv(1), " (", client.netname, ") has been moved to the ", ColoredTeamName(team_colour), "\n");
 
 		MoveToTeam(client, team_colour, 6, stof(argv(3)));
-		print("Player ", argv(1), " (", client.netname, ") has been moved to the ", ColoredTeamName(team_colour), "\n");
 
 		return;
 	}



More information about the nexuiz-commits mailing list