Prevented farming
This commit is contained in:
parent
2abf3edad4
commit
3eb36a6581
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user