Skip to content

Commit

Permalink
Fixed immoral problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pmotschmann committed Jul 9, 2019
1 parent e887526 commit 37a94c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ else {
setupStats();
q_check();

global.race['immoral'] = 1;

var fed = true;

var main_timer = global.race['slow'] ? 275 : (global.race['hyper'] ? 240 : 250);
Expand Down
4 changes: 4 additions & 0 deletions vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ if (!global.race['old_gods']){
global.race['old_gods'] = 'none';
}

if (!global.race['evil'] && global.race['immoral']){
delete global.race['immoral'];
}

$('html').addClass(global.settings.theme);

if (!global.city['morale']){
Expand Down

0 comments on commit 37a94c2

Please sign in to comment.