From 11da67f4264e7ed7b80c86f1441e4d2d948aff66 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Mon, 15 Jan 2018 13:35:50 +0100 Subject: Add "seat_access" to saved fields Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server --- advtrains/wagons.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua index 0506a22..430dd36 100644 --- a/advtrains/wagons.lua +++ b/advtrains/wagons.lua @@ -61,7 +61,7 @@ function wagon:get_staticdata() --save to table before being unloaded advtrains.wagon_save[self.unique_id]=advtrains.save_keys(self, { "seatp", "owner", "ser_inv", "wagon_flipped", "train_id", - "dcpl_lock" + "dcpl_lock", "seat_access", }) advtrains.wagon_save[self.unique_id].entity_name=self.name return self.unique_id -- cgit v1.2.3