Merge branch 'master' into RemoveTrader

This commit is contained in:
GenZmeY 2022-09-16 06:36:36 +03:00
commit 96438eb969
2 changed files with 2 additions and 2 deletions

View File

@ -739,6 +739,6 @@ event BeginState(Name N)
defaultproperties
{
RespawnCounter=-1
AdminType=255
AdminType=AT_Player
TaggedPlayerName="Player"
}

View File

@ -1393,7 +1393,7 @@ final function InitCustomChars(ExtPlayerReplicationInfo PRI)
final function bool HasPrivs(ExtPlayerReplicationInfo P)
{
return WorldInfo.NetMode==NM_StandAlone || (P!=None && P.ShowAdminName() && (P.AdminType<=1 || P.AdminType==255));
return WorldInfo.NetMode==NM_StandAlone || (P != None && P.ShowAdminName() && (P.AdminType <= AT_Admin || P.AdminType == AT_Player));
}
function AdminCommand(ExtPlayerController PC, int PlayerID, int Action)