Skip to content

Stop a damaging building animation crashing the game

Changes0.2.0 (in development)

FixedPlanned for 0.2.0

A structure animation with Damage= no longer crashes the game when its own damage makes the structure replace it. That happened when the damage moved the structure across ConditionYellow and the animation was one the structure swaps for its other form. One example is a damaged-only animation that keeps running after a repair and then damages the structure below ConditionYellow again.

Rampastring is credited for the ts-patches workaround for this crash.

Affected entities

Credit: ZivDero, Rampastring