Fixed zombies not spawning - Credit to https://github.com/November75-SPT for the fix

This commit is contained in:
Chomp
2025-04-02 13:17:31 +01:00
parent da5f1e6d11
commit 362a6181b0
@@ -761,6 +761,13 @@ public class SeasonalEventService(
protected void ConfigureZombies(ZombieSettings zombieSettings)
{
// Flag zombies as being enabled
var botData = _databaseService.GetBots();
if (!botData.Core.TryAdd("ACTIVE_HALLOWEEN_ZOMBIES_EVENT", true))
{
botData.Core["ACTIVE_HALLOWEEN_ZOMBIES_EVENT"] = true;
}
var globals = _databaseService.GetGlobals();
var infectionHalloween = globals.Configuration.SeasonActivity.InfectionHalloween;
infectionHalloween.DisplayUIEnabled = true;