hedgewars/uTeams.pas
changeset 4480 fcada5d38b3d
parent 4479 59e11a5a3bfa
child 4514 c62e6e522849
--- a/hedgewars/uTeams.pas	Tue Dec 07 17:29:02 2010 -0500
+++ b/hedgewars/uTeams.pas	Tue Dec 07 17:33:11 2010 -0500
@@ -248,6 +248,7 @@
     end;
 
 perfExt_NewTurnBeginning();
+ScriptCall('onNewTurn');
 end;
 
 function AddTeam(TeamColor: Longword): PTeam;
@@ -291,7 +292,6 @@
 
 CurrentTeam:= team;
 AddTeam:= team;
-ScriptCall('onNewTurn');
 end;
 
 procedure RecountAllTeamsHealth;