-1 team kills for suicide (only after bridge drop)

This commit is contained in:
Chiss 2014-07-26 20:57:40 +10:00
parent f090ed9313
commit 802415be8f

View File

@ -168,6 +168,7 @@ public class Bridge extends TeamGame implements OreObsfucation
"Gather resources and prepare for combat.",
"After 10 minutes, The Bridges will emerge.",
"Special loot is located in the center.",
"Killing yourself counts as -1 team kill.",
"Team with the most kills wins!"
};
}
@ -1201,6 +1202,13 @@ public class Bridge extends TeamGame implements OreObsfucation
else
_tournamentKills.put(killerTeam, _tournamentKills.get(killerTeam) + 1);
}
else if (_bridgesDown)
{
if (!_tournamentKills.containsKey(killedTeam))
_tournamentKills.put(killedTeam, -1);
else
_tournamentKills.put(killedTeam, _tournamentKills.get(killedTeam) - 1);
}
}
}