15 lines
410 B
C#
15 lines
410 B
C#
public class RequirementGore : RequirementBase
|
|
{
|
|
public override bool ParamsValid(MinEventParams _params)
|
|
{
|
|
string optionGore = RebirthVariables.customGore;
|
|
bool isSinglePlayer = SingletonMonoBehaviour<ConnectionManager>.Instance.IsSinglePlayer;
|
|
|
|
if (isSinglePlayer && optionGore == "bloodsplatter")
|
|
{
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
} |