fix code style
This commit is contained in:
parent
d5673b1887
commit
a604b53de9
@ -1,28 +1,28 @@
|
||||
class ExtHUD_ObjectiveConatiner extends KFGFxHUD_ObjectiveConatiner;
|
||||
|
||||
simulated function SetActive(bool bActive)
|
||||
{
|
||||
if (bActive)
|
||||
{
|
||||
Super.SetActive(bActive);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetVisible(bActive);
|
||||
CurrentObjectiveInterface = none;
|
||||
|
||||
// Fix:
|
||||
// ScriptWarning: Accessed None
|
||||
// KFGFxHUD_ObjectiveConatiner Transient.ExtMoviePlayer_HUD_0:KFGFxHUD_ObjectiveConatiner_0
|
||||
// Function KFGame.KFGFxHUD_ObjectiveConatiner:SetActive:01D9
|
||||
if (GetObject("objectiveNumberMC") != None)
|
||||
{
|
||||
GetObject("objectiveNumberMC").SetVisible(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DefaultProperties
|
||||
{
|
||||
|
||||
class ExtHUD_ObjectiveConatiner extends KFGFxHUD_ObjectiveConatiner;
|
||||
|
||||
simulated function SetActive(bool bActive)
|
||||
{
|
||||
if (bActive)
|
||||
{
|
||||
Super.SetActive(bActive);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetVisible(bActive);
|
||||
CurrentObjectiveInterface = none;
|
||||
|
||||
// Fix:
|
||||
// ScriptWarning: Accessed None
|
||||
// KFGFxHUD_ObjectiveConatiner Transient.ExtMoviePlayer_HUD_0:KFGFxHUD_ObjectiveConatiner_0
|
||||
// Function KFGame.KFGFxHUD_ObjectiveConatiner:SetActive:01D9
|
||||
if (GetObject("objectiveNumberMC") != None)
|
||||
{
|
||||
GetObject("objectiveNumberMC").SetVisible(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DefaultProperties
|
||||
{
|
||||
|
||||
}
|
@ -103,7 +103,7 @@ function UpdateObjectiveActive()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Super.UpdateObjectiveActive();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user