Merge pull request #6 from GenZmeY/player-default-rank-fix
fix player default rank apply (master)
This commit is contained in:
commit
81cc7791a4
@ -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;
|
||||
|
@ -40,6 +40,8 @@ public simulated event ReplicatedEvent(name VarName)
|
||||
{
|
||||
`Log_Trace();
|
||||
|
||||
`Log_Debug(`Location @ "Var:" @ VarName);
|
||||
|
||||
switch (VarName)
|
||||
{
|
||||
case 'LogLevel':
|
||||
|
Loading…
Reference in New Issue
Block a user