fix code style

This commit is contained in:
GenZmeY 2023-09-10 00:06:06 +03:00
parent d5673b1887
commit a604b53de9
Signed by: GenZmeY
GPG Key ID: 424DA4BC3CB2CF39
2 changed files with 28 additions and 28 deletions

View File

@ -1,28 +1,28 @@
class ExtHUD_ObjectiveConatiner extends KFGFxHUD_ObjectiveConatiner; class ExtHUD_ObjectiveConatiner extends KFGFxHUD_ObjectiveConatiner;
simulated function SetActive(bool bActive) simulated function SetActive(bool bActive)
{ {
if (bActive) if (bActive)
{ {
Super.SetActive(bActive); Super.SetActive(bActive);
} }
else else
{ {
SetVisible(bActive); SetVisible(bActive);
CurrentObjectiveInterface = none; CurrentObjectiveInterface = none;
// Fix: // Fix:
// ScriptWarning: Accessed None // ScriptWarning: Accessed None
// KFGFxHUD_ObjectiveConatiner Transient.ExtMoviePlayer_HUD_0:KFGFxHUD_ObjectiveConatiner_0 // KFGFxHUD_ObjectiveConatiner Transient.ExtMoviePlayer_HUD_0:KFGFxHUD_ObjectiveConatiner_0
// Function KFGame.KFGFxHUD_ObjectiveConatiner:SetActive:01D9 // Function KFGame.KFGFxHUD_ObjectiveConatiner:SetActive:01D9
if (GetObject("objectiveNumberMC") != None) if (GetObject("objectiveNumberMC") != None)
{ {
GetObject("objectiveNumberMC").SetVisible(false); GetObject("objectiveNumberMC").SetVisible(false);
} }
} }
} }
DefaultProperties DefaultProperties
{ {
} }

View File

@ -103,7 +103,7 @@ function UpdateObjectiveActive()
{ {
return; return;
} }
Super.UpdateObjectiveActive(); Super.UpdateObjectiveActive();
} }