Skip to content

Commit

Permalink
$ check in TargetSwitch
Browse files Browse the repository at this point in the history
  • Loading branch information
skittles1 committed Mar 2, 2015
1 parent c27a10e commit bd224d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions kod/object/active/holder/nomoveon/battler/monster.kod
Expand Up @@ -6519,6 +6519,11 @@ messages:
return;
}

if poOwner = $
{
return;
}

if IsClass(what,&User)
AND NOT Send(what,@IsLoggedOn)
{
Expand Down
5 changes: 4 additions & 1 deletion kod/object/active/holder/room/monsroom/survivalroom.kod
Expand Up @@ -960,7 +960,10 @@ messages:
else
{
% Aggro one mob on the player.
Send(self,@AggroOne,#who=(First(plParticipants)));
if plLevelGoals <> $
{
Send(self,@AggroOne,#who=(First(plParticipants)));
}
}
}
}
Expand Down

0 comments on commit bd224d6

Please sign in to comment.