Fix Steppy achievement triggering for friendlies.
This commit is contained in:
parent
6a1172491e
commit
e1bf5ad57e
2 changed files with 3 additions and 3 deletions
|
|
@ -1002,7 +1002,7 @@ Class Demolitionist : PlayerPawn
|
|||
if ( !TestMobjLocation() ) SetOrigin(oldp,true);
|
||||
}
|
||||
encroachtics++;
|
||||
if ( !(encroachtics%GameTicRate) )
|
||||
if ( !(encroachtics%GameTicRate) && !IsFriend(encroached) )
|
||||
SWWMUtility.AchievementProgress('swwm_progress_step',encroachtics/GameTicRate,player);
|
||||
}
|
||||
else encroachtics = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue