Skip to content
Snippets Groups Projects

Don't store any profit data in the save, compute it when needed from income and expenses

Merged svornost requested to merge svornost/fc-pregmod:pregmod-master into pregmod-master

From conversation in #2104 (closed). This reduces the size of $lastWeeksGatheredTotals by about 1/4, and eliminates $lastWeeksCashProfits and $lastWeeksRepProfits, which are both large structures in their own rights.

All the reports look correct in testing, the game is just a bunch smaller.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading