2 Commits

Author SHA1 Message Date
d3827c9e5a add a delay before checking ranked status 2023-09-11 03:32:30 +03:00
330322dfa0 add UKFP compatibility (again) 2023-09-10 04:24:12 +03:00

View File

@ -29,14 +29,21 @@ public function PreBeginPlay()
public function PostBeginPlay()
{
local KFGI_Access KFGIA;
`Log_Trace();
Super.PostBeginPlay();
RestoreServerActors();
SetTimer(2.0f, false, nameof(CheckStatus));
}
private function CheckStatus()
{
local KFGI_Access KFGIA;
`Log_Trace();
KFGIA = GetKFGIA();
if (KFGIA == None)
{
@ -318,6 +325,9 @@ private static function class<Actor> GetMutStringReplacement(String MutString)
defaultproperties
{
// Looks like this method is no longer needed to load UKFP
// But I'll leave this commented just in case
/*
CustomMutReplacements.Add({(
Mutator="UnofficialKFPatch.UKFPMutator",
Replacement="UnofficialKFPatch.UKFPReplicationInfo"
@ -326,6 +336,7 @@ defaultproperties
Mutator="UnofficialKFPatch.UKFPMutatorNW",
Replacement="UnofficialKFPatch.UKFPReplicationInfo"
)})
*/
SystemServerActors.Add("IpDrv.WebServer")
}