Skip to content

Commit

Permalink
fix: finnegan perk not reducing pest time (#207)
Browse files Browse the repository at this point in the history
* fix: finnegan perk not reducing pest time
* fix: remove debug print
  • Loading branch information
Morazzer authored Nov 22, 2024
1 parent 3141254 commit 15e9cf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private static void buildPerks() {
}

private static void addPerk(String name) {
activePerks.add(name.replaceAll(" ", "_").replaceAll("[^\\w_]", ""));
activePerks.add(name.replaceAll(" ", "_").replaceAll("-","_").replaceAll("[^\\w_]", "").toLowerCase());
}

public static boolean isPerkActive(String perkId) {
Expand Down

0 comments on commit 15e9cf0

Please sign in to comment.