Page 1 of 1

[2.0.72] LuaTrain.killed_players doesn't appear to work.

Posted: Sat Jan 03, 2026 2:03 am
by BurninSun
https://lua-api.factorio.com/stable/cla ... ed_players
killed_players.png
killed_players.png (12.79 KiB) Viewed 321 times
New single player, no mods game. Setup an automatic train running in a circle. Get run over by the train.
After respawn:
/c game.print(serpent.block(game.player.selected.train.killed_players)) prints {}
Expected the table to be populated with [1] = 1

Re: [2.0.72] LuaTrain.killed_players doesn't appear to work.

Posted: Sat Jan 03, 2026 9:46 am
by boskid
Thanks for the report. Issue is now fixed for 2.1.