mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Make Faction Presence Harass respect AI Ignore
This commit is contained in:
@@ -153,6 +153,10 @@ public class harass extends script.base_script
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
if (hasObjVar(who, "gm")) // respect /aiIgnore admin command
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
if (who == self || !isPlayer(who))
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
@@ -219,6 +223,10 @@ public class harass extends script.base_script
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
if (hasObjVar(who, "gm"))
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
int status = utils.getIntScriptVar(self, SCRIPTVAR_STATUS);
|
||||
if (volName.equals(VOL_DETAIN))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user