Workout achievement requires work in gym (#805)

This commit is contained in:
missymae#2783 2023-09-17 13:38:52 -06:00 committed by GitHub
parent d914040ae7
commit 47176b7809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -322,7 +322,7 @@ export const achievements: Record<string, Achievement> = {
WORKOUT: {
...achievementData.WORKOUT,
Icon: "WORKOUT",
Condition: () => isClassWork(Player.currentWork),
Condition: () => isClassWork(Player.currentWork) && Player.currentWork.isGym(),
},
TOR: {
...achievementData.TOR,