Skip to content

Revert "Cache result of evaluating strategicmap.lua (#32)"#293

Merged
Asdow merged 1 commit into
masterfrom
factories
Mar 16, 2024
Merged

Revert "Cache result of evaluating strategicmap.lua (#32)"#293
Asdow merged 1 commit into
masterfrom
factories

Conversation

@Asdow
Copy link
Copy Markdown
Contributor

@Asdow Asdow commented Mar 16, 2024

This reverts commit 8f22d13.
Closes #292

For the life of me, I can't figure out why the GetFactoryLeftoverProgress keeps reading wrong data from the global array that holds the progress values via GetModderLUAFact when strategicmap.lua evaluation is cached. Similar approach to the SetFactoryLeftoverProgress works fine, so technically it'd be enough to only revert the Get function but ehh..

@Asdow Asdow merged commit bf01f87 into master Mar 16, 2024
@Asdow Asdow deleted the factories branch March 16, 2024 11:00
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.

Factory bug

1 participant