Skip to content

Conversation

@still222
Copy link

@still222 still222 commented Oct 23, 2025

I must say, vanilla "CompCauseGameCondition" is absolute garbage for optimisation.

Currently in async MP game-breaking bug exists that insta-scorches or deep-freezes you from a single climate adjuster, because it spams new condition each tick. I've fixed that, by ensuring same source wouldn't spam endless conditions to the map.

Small bug still persist, somewhere in the CompCauseGameCondition.PostExposeData, where game cannot rebuild info about the condition source on load (YEAH, SAVE FILE DOESN'T CONTAIN INFO ABOUT IT, LOL), which causes every stackable condition to duplicate once (and also loses source info about every other condition). It clears itself after 5 seconds and never present outside of hosting the save file, so shouldn't be a big deal overall.

Without the Patch_CompCauseGameCondition_CompTick conditions duplicate on load quite a few times, while with that patch its just doubles once on the first real tick (from the source loss on originals).

@still222 still222 marked this pull request as ready for review October 23, 2025 06:38
@notfood notfood added fix Fixes for a bug or desync. 1.6 Fixes or bugs relating to 1.6 (Not Odyssey). labels Oct 27, 2025
@notfood notfood moved this to In review in 1.6 and Odyssey Oct 27, 2025
@notfood notfood merged commit d2315b5 into rwmt:dev Oct 27, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In review to Done in 1.6 and Odyssey Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6 Fixes or bugs relating to 1.6 (Not Odyssey). fix Fixes for a bug or desync.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants