would help if I put it in the right routine
authornemo
Tue, 07 Dec 2010 17:33:11 -0500
changeset 4480 fcada5d38b3d
parent 4479 59e11a5a3bfa
child 4481 0d73e7db3d59
would help if I put it in the right routine
hedgewars/uTeams.pas
--- 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;