Skip to content

Commit

Permalink
Avoid a crash after the first diamond level.
Browse files Browse the repository at this point in the history
  • Loading branch information
bentley committed May 14, 2016
1 parent cc5c4ea commit e8ec577
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monorail/scenarios.py
Expand Up @@ -803,7 +803,8 @@ def create_scenario( self, skill = 1 ):
if scenario.goal is not None:
scenario.goal = int(scenario.goal * skill / 10) * 10
else:
scenario.goal = int(scenario.goal * skill)
if scenario.goal is not None:
scenario.goal = int(scenario.goal * skill)

return scenario

Expand Down

0 comments on commit e8ec577

Please sign in to comment.