fix player default rank apply

This commit is contained in:
GenZmeY 2023-06-27 11:34:37 +03:00
parent 4ee7d2cc59
commit b824302069
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); RepInfos.AddItem(OwnerRepInfo);
PlayerRepInfo.Rank = class'YAS_Types'.static.FromSystemRank(CfgRanks.default.Player);
OwnerRepInfo.PlayerRepInfo = PlayerRepInfo; OwnerRepInfo.PlayerRepInfo = PlayerRepInfo;
OwnerRepInfo.YAS = Self; OwnerRepInfo.YAS = Self;
OwnerRepInfo.LogLevel = LogLevel; OwnerRepInfo.LogLevel = LogLevel;

View File

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