Skip to content

Commit

Permalink
Fixed bug with Prestige button
Browse files Browse the repository at this point in the history
  • Loading branch information
angarg12 committed Feb 14, 2015
1 parent cde377f commit 81df4d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3 ng-if="clickUpgradePower.length > 0">Click power upgrades</h3>
<div id="options">
<h2>Options</h2>
<table id="optionTable">
<tr ng-if="player.sprintFinished && prestigeGoal.length > player.prestige+1">
<tr ng-if="player.sprintFinished && prestigeGoal.length > player.maxPrestige+1">
<td>
<button id="prestige" ng-click="prestige()">Prestige</button>
</td>
Expand Down
4 changes: 2 additions & 2 deletions js/exponential.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ angular.module('incremental',[])

var startPlayer = {
cashPerClick: new Decimal(1),
multiplier: new Decimal(2),
multiplier: new Decimal(10),
multiplierUpgradeLevel: [],
multiplierUpgradePrice: [],
clickUpgradeLevel: [],
Expand All @@ -21,7 +21,7 @@ angular.module('incremental',[])
var multiplierUpgradeBasePrice = [];
$scope.multiplierUpgradePower = [];
$scope.clickUpgradePower = [];
$scope.prestigeGoal = [new Decimal("1e4"),
$scope.prestigeGoal = [new Decimal("1e4"),
new Decimal("1e6"),
new Decimal("1e16"),
new Decimal("1e200"),
Expand Down

0 comments on commit 81df4d2

Please sign in to comment.