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);
|
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;
|
||||||
|
@ -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':
|
||||||
|
Loading…
Reference in New Issue
Block a user