diff options
-rw-r--r-- | advtrains/advtrains/atc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/advtrains/atc.lua b/advtrains/advtrains/atc.lua index 5a8e76b..6d484b1 100644 --- a/advtrains/advtrains/atc.lua +++ b/advtrains/advtrains/atc.lua @@ -40,14 +40,14 @@ function atc.send_command(pos, par_tid) advtrains.round_vector_floor_y(train.path[index+train.movedir]) ) advtrains.trains[train_id].atc_command=atc.controllers[pts].command - atprint("Sending ATC Command: "..atc.controllers[pts].command) + atprint("Sending ATC Command: ", atc.controllers[pts].command) return true end end atwarn("ATC rail at", pos, ": Rail not on train's path! Can't determine arrow direction. Assuming +!") advtrains.trains[train_id].atc_arrow=true advtrains.trains[train_id].atc_command=atc.controllers[pts].command - atprint("Sending ATC Command: "..atc.controllers[pts].command) + atprint("Sending ATC Command: ", atc.controllers[pts].command) else atwarn("ATC rail at", pos, ": Sending command failed: The train",train_id,"does not exist. This seems to be a bug.") end |