hedgewars/uScript.pas
changeset 10542 383328755384
parent 10518 dbbe2f6c0a96
child 10553 67c6de2a0213
equal deleted inserted replaced
10541:7b74aa1bb58d 10542:383328755384
  1514                 else
  1514                 else
  1515                     LuaCallError(EnumToStr(statInfo) + ' requires the teamname parameter', call, params);
  1515                     LuaCallError(EnumToStr(statInfo) + ' requires the teamname parameter', call, params);
  1516                 end
  1516                 end
  1517             else // count is correct!
  1517             else // count is correct!
  1518                 begin
  1518                 begin
  1519                 if ((statInfo = siPlayerKills) or (statInfo = siClanHealth)) then
  1519                 if needsTn then
  1520                     begin
  1520                     begin
  1521                     // 3: team name
  1521                     // 3: team name
  1522                     for i:= 0 to Pred(TeamsCount) do
  1522                     for i:= 0 to Pred(TeamsCount) do
  1523                         begin
  1523                         begin
  1524                         color:= _S'0';
  1524                         color:= _S'0';