From 8b1166a135920c1824dcb311d62db34668a2ad9e Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 15 May 2025 22:22:27 +0900 Subject: [PATCH] Fix wagons being put into automatic mode (#393) --- exp_scenario/module/commands/trains.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exp_scenario/module/commands/trains.lua b/exp_scenario/module/commands/trains.lua index 0df7b2c7..2a122377 100644 --- a/exp_scenario/module/commands/trains.lua +++ b/exp_scenario/module/commands/trains.lua @@ -11,8 +11,10 @@ local module = {} function module.manual(player, surface, force) local trains = game.train_manager.get_trains{ + stock = "locomotive", has_passenger = false, is_manual = true, + is_moving = false, surface = surface, force = force, }