Skip to content

Conversation

@SokyranTheDragon
Copy link
Member

In simple terms, this will fix issues with condition causers, like smoke spewer or psychic suppressor sites.

CompCauseGameCondition iterates over the list of each maps that it affects, where it either creates the game condition, or updates the remaining ticks for it.

The issue is that it uses Find.TickManager.TicksGame when doing so, which causes the affected maps to receive the time from either the world (if the Thing the comp is part of happens to be attached to a world object), or the specific map (if the Thing is spawned on an actual map).

The change here is to properly use the actual ticks from the specific map that is affected.

A slight side note - this won't fix maps where the game condition is active, but the condition causer was destroyed. This is due to the condition causer updating the game condition, while the game condition itself does not have any references to the causer itself.

In simple terms, this will fix issues with condition causers, like smoke spewer or psychic suppressor sites.

`CompCauseGameCondition` iterates over the list of each maps that it affects, where it either creates the game condition, or updates the remaining ticks for it.

The issue is that it uses `Find.TickManager.TicksGame` when doing so, which causes the affected maps to receive the time from either the world (if the `Thing` the comp is part of happens to be attached to a world object), or the specific map (if the `Thing` is spawned on an actual map).

The change here is to properly use the actual ticks from the specific map that is affected.

A slight side note - this won't fix maps where the game condition is active, but the condition causer was destroyed. This is due to the condition causer updating the game condition, while the game condition itself does not have any references to the causer itself.
@SokyranTheDragon SokyranTheDragon added async Bugs or issues only in async time mode. 1.5 Fixes or bugs relating to 1.5 (Not Anomaly). labels Aug 18, 2024
@SokyranTheDragon SokyranTheDragon added the fix Fixes for a bug or desync. label Jun 29, 2025
@notfood notfood changed the base branch from master to dev July 1, 2025 15:41
@notfood notfood merged commit da35d6e into rwmt:dev Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.5 Fixes or bugs relating to 1.5 (Not Anomaly). async Bugs or issues only in async time mode. fix Fixes for a bug or desync.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants