aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index d6c3c92..fb17f08 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -462,6 +462,12 @@ advtrains.avt_save = function(remove_players_from_wagons)
end
file:write(dump(save_tbl))
file:close()
+ local file, err = io.open(advtrains.fpath.."_interlocking_DUMP", "w")
+ if err then
+ return
+ end
+ file:write(dump(il_save))
+ file:close()
end
end