hedgewars/uScript.pas
changeset 10282 f02cf95b8424
parent 10281 dedc8f23e35e
child 10283 f5573ef8cda9
equal deleted inserted replaced
10281:dedc8f23e35e 10282:f02cf95b8424
  1532                 if ((statInfo = siPlayerKills) or (statInfo = siClanHealth)) then
  1532                 if ((statInfo = siPlayerKills) or (statInfo = siClanHealth)) then
  1533                     begin
  1533                     begin
  1534                     // 3: team name
  1534                     // 3: team name
  1535                     for i:= 0 to Pred(TeamsCount) do
  1535                     for i:= 0 to Pred(TeamsCount) do
  1536                         begin
  1536                         begin
  1537                         color:= '0';
  1537                         color:= _S'0';
  1538                         tn:= lua_tostring(L, 3);
  1538                         tn:= lua_tostring(L, 3);
  1539                         with TeamsArray[i]^ do
  1539                         with TeamsArray[i]^ do
  1540                             begin
  1540                             begin
  1541                                 if TeamName = tn then
  1541                                 if TeamName = tn then
  1542                                     begin
  1542                                     begin