equal
deleted
inserted
replaced
1326 teamsAttacked = {} |
1326 teamsAttacked = {} |
1327 |
1327 |
1328 -- Was the team violating the attackRule the last time? |
1328 -- Was the team violating the attackRule the last time? |
1329 if getTeamValue(teamName, "skipPenalty") then |
1329 if getTeamValue(teamName, "skipPenalty") then |
1330 -- Then take away this turn |
1330 -- Then take away this turn |
1331 AddCaption(string.format(loc("%s must skip this turn for rule violation ."), teamName), msgColorWarn, capgrpMessage) |
1331 AddCaption(string.format(loc("%s must skip this turn for rule violation."), teamName), msgColorWarn, capgrpMessage) |
1332 TurnTimeLeft = 0 |
1332 EndTurn(true) |
1333 setTeamValue(teamName, "skipPenalty", false) |
1333 setTeamValue(teamName, "skipPenalty", false) |
1334 end |
1334 end |
1335 |
1335 |
1336 else |
1336 else |
1337 allowCrate = false |
1337 allowCrate = false |