Skip to content

Commit

Permalink
Fixed halloween feat in micro universe
Browse files Browse the repository at this point in the history
  • Loading branch information
pmotschmann committed Oct 31, 2019
1 parent 84f8f6b commit f6c2521
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 0.6.24 - 10/31/2019 ####
The Halloween feat will now unlock inside a micro universe<br>

#### 0.6.23 - 10/28/2019 ####
Exotic mass now counts towards Galactic Landfill and Supermassive<br>
Fixed issues with queue timers and kindling kindred trait<br>
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion src/achieve.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,12 @@ export function checkAchievements(){
}
const date = new Date();
if (date.getMonth() === 9 && date.getDate() === 31){
unlockFeat('halloween');
if (global.race.universe === 'micro'){
unlockFeat('halloween',true);
}
else {
unlockFeat('halloween');
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ if (convertVersion(global['version']) < 6020 && global.race['mutation'] && globa
global.stats.achieve['cross'] = { l: a_level, a: a_level };
}

global['version'] = '0.6.23';
global['version'] = '0.6.24';

if (global.civic['cement_worker'] && global.civic.cement_worker.impact === 0.25){
global.civic.cement_worker.impact = 0.4;
Expand Down

0 comments on commit f6c2521

Please sign in to comment.