mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-21 14:12:31 +00:00
Merge branch 'fix-super-flicky-targeting' into 'master'
Do not let Super Flicky target spectators Closes #785 See merge request KartKrew/Kart!1672
This commit is contained in:
commit
eca0310828
1 changed files with 5 additions and 0 deletions
|
|
@ -563,6 +563,11 @@ void Controller::search()
|
|||
continue;
|
||||
}
|
||||
|
||||
if (player->spectator)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Do not retarget existing target or owner.
|
||||
if (mobj == chasing() || mobj == source())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue