mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 22:53:21 +00:00
Use new targetname for randomizer
This commit is contained in:
parent
0dc90f1939
commit
b42d0ecb46
2 changed files with 2 additions and 2 deletions
|
@ -594,7 +594,7 @@ bool CheckBlacklist(int entity) {
|
|||
}
|
||||
}
|
||||
GetEntPropString(entity, Prop_Data, "m_iName", buffer, sizeof(buffer));
|
||||
if(StrEqual(buffer, "l4d2_randomizer")) {
|
||||
if(StrContains(buffer, "randomizer") == 0) {
|
||||
return false;
|
||||
}
|
||||
GetEntityClassname(entity, buffer, sizeof(buffer));
|
||||
|
|
|
@ -691,7 +691,7 @@ bool CheckBlacklist(int entity) {
|
|||
}
|
||||
}
|
||||
GetEntPropString(entity, Prop_Data, "m_iName", buffer, sizeof(buffer));
|
||||
if(StrEqual(buffer, "l4d2_randomizer")) {
|
||||
if(StrContains(buffer, "randomizer") == 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue