This subforum contains all the issues which we already resolved.
- Filter Inserter
- Posts: 313
- Joined: Wed Dec 07, 2016 8:35 am
If the player has the "all train GUI" open (the one that shows a list of all active trains) the game can crash if trains are deleted through scripts. I've attached a log of this crash and a save in which I can reproduce it.
To use the save simply load it, open the train list and run the following script:
Code: Select all
/c for _,t in ipairs(game.player.force.get_trains()) do for _,l in ipairs(t.locomotives.front_movers) do l.destroy() end end
Whether or not the crash occurs seems to be dependant on how many trains there are, In some tests with only a few trains it did not crash.
- Delete train crash.zip
- (1.61 MiB) Downloaded 33 times
- (7.85 KiB) Downloaded 38 times
- Factorio Staff
- Posts: 9456
- Joined: Wed Jun 11, 2014 5:23 am
Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.
Users browsing this forum: No registered users