-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(game): fix problem in how production output effects were applied.
before they were applied *after* production had been calculated. for example, say there's a 10% reduction in plant calories. with plant calorie demand at 100, we'd produce 100, and *then* apply the reduction so that the "actual" production amount is just 90, thus leading to a shortage (90 < 100). the changed version just updates the per-process output modifier, which is what I should have been doing from the start :) likely the cause of #298 and #280
- Loading branch information
Showing
3 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters