Skip to content

Fix funding modifier and reset timing#1586

Merged
FilmBoy84 merged 1 commit intoOpenApoc:masterfrom
Kurtsley:funding-update
Mar 6, 2026
Merged

Fix funding modifier and reset timing#1586
FilmBoy84 merged 1 commit intoOpenApoc:masterfrom
Kurtsley:funding-update

Conversation

@Kurtsley
Copy link
Contributor

@Kurtsley Kurtsley commented Mar 6, 2026

Addresses #1585

The weekly player update was clearing the weekly score before the funding screen could read it. This resets the score only after it is used in the funding screen.

The funding modifier calculation was breaking early, causing the player to recieve the max score modifier if the score was positive. That explains the constant 25% increase every week.

@FilmBoy84
Copy link
Collaborator

Very nice spot and thankyou for the fix 🍻

Tested both with and without debug to end of week; appears to work as intended

@FilmBoy84 FilmBoy84 merged commit 1102605 into OpenApoc:master Mar 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants