[kovarex] [0.17.31] Crash when rebuilding ghost connected to both ghost and non-ghost
Posted: Sat Apr 13, 2019 3:07 am
If I build some objects connected with circuit wires, remove some of them and undo the removal such that a ghost is created connected to both a real object and a ghost object the game will crash if that object is placed.
Steps to reproduce:
1. Build 3 chests in a row. Let's call them A, B, and C.
2. Use red wire to connect A to B and B to C.
3. Remove chest B.
4. Remove chest C.
5. Hit Ctrl-Z twice. You should now have 1 real chest A and two ghost chests B and C.
6. Place chest B (either manually or with a logistics bot).
Expected: The chest is placed connected to both A and ghost C.
Actual: The game crashes.
I have attached a save created after step 5.
Steps to reproduce:
1. Build 3 chests in a row. Let's call them A, B, and C.
2. Use red wire to connect A to B and B to C.
3. Remove chest B.
4. Remove chest C.
5. Hit Ctrl-Z twice. You should now have 1 real chest A and two ghost chests B and C.
6. Place chest B (either manually or with a logistics bot).
Expected: The chest is placed connected to both A and ghost C.
Actual: The game crashes.
I have attached a save created after step 5.