13 lines
435 B
C#
13 lines
435 B
C#
public class ZombieParticlesEnabled : RequirementBase
|
|
{
|
|
public override bool ParamsValid(MinEventParams _params)
|
|
{
|
|
string optionZombieParticles = RebirthVariables.customZombieParticles;
|
|
bool isHordeNight = RebirthUtilities.IsHordeNight();
|
|
|
|
bool flag = optionZombieParticles == "on";
|
|
bool flag2 = optionZombieParticles == "nohordenight" && !isHordeNight;
|
|
|
|
return flag || flag2;
|
|
}
|
|
} |