--- a/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua Wed Apr 19 17:50:31 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua Wed Apr 19 20:21:15 2017 +0200
@@ -1328,8 +1328,8 @@
-- Was the team violating the attackRule the last time?
if getTeamValue(teamName, "skipPenalty") then
-- Then take away this turn
- AddCaption(string.format(loc("%s must skip this turn for rule violation ."), teamName), msgColorWarn, capgrpMessage)
- TurnTimeLeft = 0
+ AddCaption(string.format(loc("%s must skip this turn for rule violation."), teamName), msgColorWarn, capgrpMessage)
+ EndTurn(true)
setTeamValue(teamName, "skipPenalty", false)
end