[2.0.72] order_upgrade doesn't accept to be used on hidden entity
Posted: Sat Dec 13, 2025 12:16 pm
order_upgrade seems to not be able to upgrade when an entity with a prototype with hidden set to true. It's accept the target to be hidden but not the source.
Also, this function doesn't report any error information and that very hard to debug.
why order_upgrade sometime refuse to accept request ?
Code: Select all
not_hidden.order_upgrade(hidden) -- works
hidden.order_upgrade(whatever) -- doesn't workswhy order_upgrade sometime refuse to accept request ?