From e3535715fa6a9927f926121531ae17dabc001621 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Thu, 7 Jul 2022 01:03:11 +0300 Subject: [PATCH] hide ready button --- CTI/Classes/CTI.uc | 4 ++++ CTI/Classes/CTI_RepInfo.uc | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/CTI/Classes/CTI.uc b/CTI/Classes/CTI.uc index 8ee8139..66173c3 100644 --- a/CTI/Classes/CTI.uc +++ b/CTI/Classes/CTI.uc @@ -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) diff --git a/CTI/Classes/CTI_RepInfo.uc b/CTI/Classes/CTI_RepInfo.uc index 0536d01..68ee3a7 100644 --- a/CTI/Classes/CTI_RepInfo.uc +++ b/CTI/Classes/CTI_RepInfo.uc @@ -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)