[1.1.64] Spidertron teleportation cross-surface does not respect position parameter
Posted: Thu Aug 04, 2022 6:22 pm
To reproduce:
- Place a spidertron on "nauvis" at position {0, 0}
- Create a surface "nauvis-2"
- Hover over the spidertron and run "/c game.player.selected.teleport({10, 0}, "nauvis-2")"
- Observe that the spidertron is correctly on "nauvis-2", but incorrectly still at position {0, 0}
Workaround:
- Run "/c game.player.selected.teleport({10, 0}, "nauvis-2")" for a second time immediately afterwards
- Place a spidertron on "nauvis" at position {0, 0}
- Create a surface "nauvis-2"
- Hover over the spidertron and run "/c game.player.selected.teleport({10, 0}, "nauvis-2")"
- Observe that the spidertron is correctly on "nauvis-2", but incorrectly still at position {0, 0}
Workaround:
- Run "/c game.player.selected.teleport({10, 0}, "nauvis-2")" for a second time immediately afterwards