mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 01:38:13 +00:00
UFOMove: check playeringame cv_ufo_follow
This commit is contained in:
parent
d9d6a0da18
commit
5abd0f7a6c
1 changed files with 4 additions and 1 deletions
|
|
@ -391,7 +391,10 @@ static void UFOMove(mobj_t *ufo)
|
|||
|
||||
if (cv_ufo_follow.value)
|
||||
{
|
||||
UFOMoveToDistance(ufo, players[cv_ufo_follow.value - 1].distancetofinish);
|
||||
if (playeringame[cv_ufo_follow.value - 1])
|
||||
{
|
||||
UFOMoveToDistance(ufo, players[cv_ufo_follow.value - 1].distancetofinish);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue