Fix some leaderboards not cleaning up after themselves
This commit is contained in:
parent
aa898d74da
commit
7f240bb5a4
@ -695,6 +695,10 @@ public class CastleAssault extends TeamGame
|
||||
Manager.GetDamage().SetEnabled(true);
|
||||
Manager.GetExplosion().setEnabled(true);
|
||||
Manager.GetCreature().SetDisableCustomDrops(false);
|
||||
}
|
||||
|
||||
if (event.GetState() == GameState.Dead)
|
||||
{
|
||||
Managers.get(LeaderboardManager.class).unregisterLeaderboard("TOP_CASTLEASSAULT_DAILY_WINS");
|
||||
Managers.get(LeaderboardManager.class).unregisterLeaderboard("TOP_CASTLEASSAULT_DAILY_KILLS");
|
||||
Managers.get(LeaderboardManager.class).unregisterLeaderboard("TOP_CASTLEASSAULT_WINS");
|
||||
|
Loading…
Reference in New Issue
Block a user