When the player is of controller type spectator and you try to open the locomotive - the game crashes.
Code: Select all
player.set_controller({ type = defines.controllers.spectator })
1. Load the save
2. Open the locomotive
3. Crash
/Gerkiz
Code: Select all
player.set_controller({ type = defines.controllers.spectator })