Skip to content

Commit

Permalink
Fixed gravity well railway bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pmotschmann committed Sep 30, 2024
1 parent a07d873 commit 96c4924
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions evolve/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function highPopAdjust(v){
export function teamster(v){
if (global.race['gravity_well'] && global.race['teamster'] && global.race.teamster > 0){
let cap = teamsterCap();
if (cap < 1){ cap = 1; }
let teamster = global.civic.teamster.workers > cap ? cap : global.civic.teamster.workers;
v *= teamster / cap;
}
Expand Down
2 changes: 1 addition & 1 deletion src/vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ if (convertVersion(global['version']) <= 103015){
}

global['version'] = '1.3.16';
delete global['revision'];
global['revision'] = 'a';
delete global['beta'];

if (!global.hasOwnProperty('prestige')){
Expand Down
8 changes: 8 additions & 0 deletions src/wiki/change.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ import {} from './../vars.js';
import { clearElement } from './../functions.js';

export const changeList = [
{
version: `1.3.16`,
revision: `a`,
date: `9/30/2024`,
changes: [
`Fixed an issue with with Gravity Well challenge and having too many Railways.`
]
},
{
version: `1.3.16`,
date: `9/29/2024`,
Expand Down
4 changes: 2 additions & 2 deletions wiki/wiki.js

Large diffs are not rendered by default.

0 comments on commit 96c4924

Please sign in to comment.