Merge pull request #6 from GenZmeY/player-default-rank-fix

fix player default rank apply (master)
This commit is contained in:
GenZmeY 2023-06-28 00:00:10 +03:00 committed by GitHub
commit 81cc7791a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -355,6 +355,7 @@ public function YAS_RepInfoOwner CreateRepInfo(Controller C)
{
RepInfos.AddItem(OwnerRepInfo);
PlayerRepInfo.Rank = class'YAS_Types'.static.FromSystemRank(CfgRanks.default.Player);
OwnerRepInfo.PlayerRepInfo = PlayerRepInfo;
OwnerRepInfo.YAS = Self;
OwnerRepInfo.LogLevel = LogLevel;

View File

@ -40,6 +40,8 @@ public simulated event ReplicatedEvent(name VarName)
{
`Log_Trace();
`Log_Debug(`Location @ "Var:" @ VarName);
switch (VarName)
{
case 'LogLevel':