[1.1.30] Player inventory is not resorted when script sets `spidertron_remote.connected_entity`
[1.1.30] Player inventory is not resorted when script sets `spidertron_remote.connected_entity`
In the player's inventory connected remotes are always sorted before unconnected remotes. When a script sets `LuaItemStack::connected_entity` it does not trigger a sort so the remote may be amongst unconnected remotes until it is picked up and put back in the inventory.
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Re: [1.1.30] Player inventory is not resorted when script sets `spidertron_remote.connected_entity`
You can call the sort inventory yourself, I don't consider this to be a bug