Fix some BH issues
This commit is contained in:
parent
bd7e7693f0
commit
6731b5f3ab
@ -317,6 +317,7 @@ public class HideSeek extends TeamGame
|
||||
PrepareFreeze = false;
|
||||
SplitKitXP = true;
|
||||
AllowParticles = false;
|
||||
AllowEntitySpectate = false;
|
||||
DeathSpectateSecs = 1;
|
||||
|
||||
_allowedBlocks = new ArrayList<>();
|
||||
@ -338,7 +339,6 @@ public class HideSeek extends TeamGame
|
||||
|
||||
Manager.GetExplosion().SetRegenerate(true);
|
||||
Manager.GetExplosion().SetTNTSpread(false);
|
||||
Manager.getCosmeticManager().setHideParticles(true);
|
||||
|
||||
registerStatTrackers(
|
||||
new HunterKillerStatTracker(this),
|
||||
@ -1217,9 +1217,9 @@ public class HideSeek extends TeamGame
|
||||
|
||||
if (_hiders.GetPlayers(true).isEmpty())
|
||||
{
|
||||
ArrayList<Player> places = _hiders.GetPlacements(true);
|
||||
List<Player> places = _hiders.GetPlacements(true);
|
||||
|
||||
AnnounceEnd(_hiders.GetPlacements(true));
|
||||
AnnounceEnd(places);
|
||||
// Need to manually set the WinnerTeam otherwise no one gets XP
|
||||
WinnerTeam = _hiders;
|
||||
|
||||
@ -1242,6 +1242,7 @@ public class HideSeek extends TeamGame
|
||||
_startingHunters.forEach(player ->
|
||||
{
|
||||
AddStat(player, "HunterWins", 1, true, false);
|
||||
AddGems(player, 15, "Winning Team", false, false);
|
||||
GetStats().get(player).remove(GetName() + ".Losses");
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user