hide ready button

This commit is contained in:
GenZmeY 2022-07-07 01:03:11 +03:00
parent 3218132314
commit e3535715fa
2 changed files with 10 additions and 0 deletions

View File

@ -133,6 +133,10 @@ private function PostInit()
return;
}
// TODO:
// replace shopContainer (KFGFxTraderContainer_Store)
// without replacing KFGFxMoviePlayer_Manager
// but how? 🤔
if (UnlockDLC)
{
if (KFGameInfo_VersusSurvival(KFGI) != None)

View File

@ -200,7 +200,9 @@ public reliable server function ServerSync()
{
PreloadContentWorkaround();
}
SyncFinished();
if (!CTI.DestroyRepLink(Controller(Owner)))
{
SafeDestroy();
@ -232,6 +234,7 @@ private function PreloadContentWorkaround()
`Log_Trace(`Location);
HideReadyButton();
PC = GetPlayerController();
if (PC == None)
@ -259,6 +262,7 @@ private function PreloadContentWorkaround()
for (Index = 0; Index < AddItems.Length; Index++)
{
HideReadyButton();
UpdateNotification(
"Game isn't frozen, Don't panic",
"Preload content:",
@ -272,6 +276,7 @@ private function PreloadContentWorkaround()
}
}
HideReadyButton();
UpdateNotification("Cleanup", "", "", 0);
foreach KFIM.InventoryActors(class'Weapon', W)
@ -288,6 +293,7 @@ private function PreloadContentWorkaround()
}
}
HideReadyButton();
UpdateNotification("Cleanup", "", "", 0);
foreach WorldInfo.DynamicActors(class'DroppedPickup', DP)