Page 1 of 1

Fix type of CreateTrivialSmokeEffectItem::only_when_visible

Posted: Sat Feb 15, 2025 2:39 pm
by Geheim
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)

Re: Fix type of CreateTrivialSmokeEffectItem::only_when_visible

Posted: Fri Mar 14, 2025 4:57 pm
by Bilka
Thanks, fixed for 2.0.42.