Skip to content

Commit

Permalink
Add Performance check
Browse files Browse the repository at this point in the history
Don't try to kick off performance if skill is capped.
  • Loading branch information
dantiadr committed Jul 17, 2024
1 parent fd717cd commit 2c2ad76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossing-repair.lic
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CrossingRepair
@hometown_data = get_data('town')[settings.hometown]

# Start performance script for some sweet TDPs.
start_script('performance', ['noclean']) unless settings.instrument
start_script('performance', ['noclean']) unless settings.instrument || DRSkill.getrank('Performance') >= 1750

# Call our main repair handler function.
repair_handler(town, settings)
Expand Down

0 comments on commit 2c2ad76

Please sign in to comment.