Prevented farming

This commit is contained in:
Mysticate 2015-10-11 22:43:21 -04:00
parent 2abf3edad4
commit 3eb36a6581
2 changed files with 7 additions and 0 deletions

View File

@ -423,6 +423,10 @@ public class Halloween extends SoloGame
for (Player player : GetPlayers(false))
{
//Prevent game hopping
if (!player.isOnline())
continue;
Manager.GetDonation().PurchaseUnknownSalesPackage(null, player.getName(), Manager.GetClients().Get(player).getAccountId(), "Decrepit Warhorse", false, 0, true);
}
}

View File

@ -27,6 +27,9 @@ public class WinStatTracker extends StatTracker<Game>
{
for (Player winner : winners)
{
if (!winner.isOnline())
continue;
addStat(winner, "Wins", 1, false, false);
// if (getGame().GetKit(winner) != null)