Skip to content

Commit

Permalink
Merge branch 'master' into RemoveTrader
Browse files Browse the repository at this point in the history
  • Loading branch information
GenZmeY committed Sep 16, 2022
2 parents a273c26 + 771f670 commit 96438eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ServerExt/Classes/ExtPlayerReplicationInfo.uc
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,6 @@ event BeginState(Name N)
defaultproperties
{
RespawnCounter=-1
AdminType=255
AdminType=AT_Player
TaggedPlayerName="Player"
}
2 changes: 1 addition & 1 deletion ServerExtMut/Classes/ServerExtMut.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96438eb

Please sign in to comment.