[kovarex] Teleportation doesn't update entity connections

This subforum contains all the issues which we already resolved.
Post Reply
TokMor
Inserter
Inserter
Posts: 30
Joined: Mon Jan 23, 2017 3:37 am
Contact:

[kovarex] Teleportation doesn't update entity connections

Post by TokMor »

Teleporting entities doesn't update beacons/loaders. For example, if you put a chest down next to a loader and then teleport it away, the loader will still load/unload the chest no matter where it is on the map. Similarly if you teleport an entity outside the range of a beacon, it doesn't lose the effect that the beacon provided.

if This is not a bug can we get a method to force it to update that doesn't involve destroying and replacing?

Thanks!

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] Teleportation doesn't update entity connections

Post by kovarex »

I added LuaEntity::update_connections that is doing exactly that.
It could be done automatically, but it would drain the performance.

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [kovarex] Teleportation doesn't update entity connections

Post by Nexela »

Best devs ever!

Post Reply

Return to “Resolved Problems and Bugs”