fix settings replication

This commit is contained in:
GenZmeY 2021-06-13 05:12:30 +03:00
parent 5f4e2fec5d
commit 5c752f00aa

View File

@ -64,11 +64,19 @@ public function StartFirstTimeReplication()
{ {
`callstack(); `callstack();
ClientApplySettings(); ClientAddSettings(Settings);
SetTimer(0.01f, true, nameof(ReplicateCustomRanks)); SetTimer(0.01f, true, nameof(ReplicateCustomRanks));
SetTimer(0.01f, true, nameof(ReplicateSteamGroupRelations)); SetTimer(0.01f, true, nameof(ReplicateSteamGroupRelations));
} }
private reliable client function ClientAddSettings(SCESettings Set)
{
`callstack();
Settings = Set;
ClientApplySettings();
}
private reliable client function ClientApplySettings() private reliable client function ClientApplySettings()
{ {
`callstack(); `callstack();