excludemap and excludemaptime are now always respected

This commit is contained in:
jenz 2026-01-10 14:44:38 +01:00
parent 4d3d774cc0
commit 484430cd50

View File

@ -2570,8 +2570,9 @@ public int Native_CanNominate(Handle plugin, int numParams)
public int Native_ExcludeMap(Handle plugin, int numParams) public int Native_ExcludeMap(Handle plugin, int numParams)
{ {
if(!InternalAreRestrictionsActive(false)) //this is only called by .cfg files or admins. it should always be put on cooldown when they want to do that.
return true; //if(!InternalAreRestrictionsActive(false))
// return true;
int len; int len;
GetNativeStringLength(1, len); GetNativeStringLength(1, len);
@ -2609,8 +2610,9 @@ public int Native_ExcludeMap(Handle plugin, int numParams)
public int Native_ExcludeMapTime(Handle plugin, int numParams) public int Native_ExcludeMapTime(Handle plugin, int numParams)
{ {
if(!InternalAreRestrictionsActive(false)) //this is only called by .cfg files or admins. it should always be put on cooldown when they want to do that.
return true; //if(!InternalAreRestrictionsActive(false))
// return true;
int len; int len;
GetNativeStringLength(1, len); GetNativeStringLength(1, len);