LuaEntityPrototype::dying_speed [R]
Posted: Mon May 17, 2021 8:52 am
When using LuaEntityPrototype::time_to_live in control stage to get a Prototype/Corpse.time_before_removed property, the value returned is not the one defined in the prototype (in ticks) but has been in-between multiplied by its Prototype/Corpse.dying_speed property, making it unusable.
Adding LuaEntityPrototype::dying_speed (read-only) could be a simple solution.
Adding LuaEntityPrototype::dying_speed (read-only) could be a simple solution.