Space Invasion: Continue playing rounds in case the teams are tied at the end
Rules in case of a tie:
1) Eliminate all teams not tied for the lead
2) Play another round with the remaining teams
3) Check for the winner again at the end of that round. If there's another tie, repeat the procedure
HedgewarsScriptLoad("/Scripts/Locale.lua")
function awardAchievement(name, statMessage, capgrp)
local achievementString = string.format(loc("Achievement gotten: %s"), name)
if capgrp == nil then
captionType = capgrpMessage2
end
if capgrp ~= false then
AddCaption(achievementString, 0xFFBA00FF, capgrpMessage2)
end
if not statMessage then
statMessage = achievementString
end
SendStat(siCustomAchievement, statMessage)
end