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; return;
} }
// TODO:
// replace shopContainer (KFGFxTraderContainer_Store)
// without replacing KFGFxMoviePlayer_Manager
// but how? 🤔
if (UnlockDLC) if (UnlockDLC)
{ {
if (KFGameInfo_VersusSurvival(KFGI) != None) if (KFGameInfo_VersusSurvival(KFGI) != None)

View File

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