From 5c752f00aa9a3ad5b6ce6daf33dd2a66cc9155dd Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 13 Jun 2021 05:12:30 +0300 Subject: [PATCH] fix settings replication --- ScoreboardExt/Classes/ScoreboardExtRepInfo.uc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ScoreboardExt/Classes/ScoreboardExtRepInfo.uc b/ScoreboardExt/Classes/ScoreboardExtRepInfo.uc index ebb4cf7..874b771 100644 --- a/ScoreboardExt/Classes/ScoreboardExtRepInfo.uc +++ b/ScoreboardExt/Classes/ScoreboardExtRepInfo.uc @@ -64,11 +64,19 @@ public function StartFirstTimeReplication() { `callstack(); - ClientApplySettings(); + ClientAddSettings(Settings); SetTimer(0.01f, true, nameof(ReplicateCustomRanks)); SetTimer(0.01f, true, nameof(ReplicateSteamGroupRelations)); } +private reliable client function ClientAddSettings(SCESettings Set) +{ + `callstack(); + + Settings = Set; + ClientApplySettings(); +} + private reliable client function ClientApplySettings() { `callstack();