Fix type of CreateTrivialSmokeEffectItem::only_when_visible
Posted: Sat Feb 15, 2025 2:39 pm
CreateTrivialSmokeEffectItem::only_when_visible has a type of float, but a default value of false and is only used as a bool, e.g:
Code: Select all
data.raw["explosion"]["carbonic-asteroid-explosion-2"]["created_effect"]["action_delivery"]["target_effects"][2]["only_when_visible"] = true
(or see line 276904 of data-raw-dump.json)