[2.0.72] LuaTrain.killed_players doesn't appear to work.
Posted: Sat Jan 03, 2026 2:03 am
https://lua-api.factorio.com/stable/cla ... ed_players
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
After respawn:
/c game.print(serpent.block(game.player.selected.train.killed_players)) prints {}
Expected the table to be populated with [1] = 1