Fixed the achievement "No Perks? No Problem"

Added a reset for the tracker of the achievement when you get downed, so you can earn the achievement again.
This commit is contained in:
Skibbo 2024-01-05 00:32:35 +01:00 committed by GitHub
parent 6a6d39d4f8
commit ee5a3df658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -247,6 +247,9 @@ void() GetDown =
self.currentmagbk = self.weapons[0].weapon_magazine; self.currentmagbk = self.weapons[0].weapon_magazine;
self.currentmagbk2 = self.weapons[0].weapon_magazine_left; self.currentmagbk2 = self.weapons[0].weapon_magazine_left;
//Reset the tracker for the achievement "No Perks? No Problem"
self.ach_tracker_npnp = 0;
// Reset Juggernog health // Reset Juggernog health
self.max_health = self.health = PLAYER_START_HEALTH; self.max_health = self.health = PLAYER_START_HEALTH;