diff --git a/ServerExt/Classes/ExtPlayerReplicationInfo.uc b/ServerExt/Classes/ExtPlayerReplicationInfo.uc index 2f7dec7..28f14ed 100644 --- a/ServerExt/Classes/ExtPlayerReplicationInfo.uc +++ b/ServerExt/Classes/ExtPlayerReplicationInfo.uc @@ -739,6 +739,6 @@ event BeginState(Name N) defaultproperties { RespawnCounter=-1 - AdminType=255 + AdminType=AT_Player TaggedPlayerName="Player" } \ No newline at end of file diff --git a/ServerExtMut/Classes/ServerExtMut.uc b/ServerExtMut/Classes/ServerExtMut.uc index e4aed82..550d398 100644 --- a/ServerExtMut/Classes/ServerExtMut.uc +++ b/ServerExtMut/Classes/ServerExtMut.uc @@ -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)