aboutsummaryrefslogtreecommitdiff
path: root/advtrains/wagons.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2018-01-15 13:35:50 +0100
committerGitHub <noreply@github.com>2018-01-15 13:35:50 +0100
commit11da67f4264e7ed7b80c86f1441e4d2d948aff66 (patch)
tree48fdb7d5d807d1629d86ed7926903c57e605b3b5 /advtrains/wagons.lua
parent27afd89d1b337fe4a4d34f2184f4838c2c8722c1 (diff)
downloadadvtrains-11da67f4264e7ed7b80c86f1441e4d2d948aff66.tar.gz
advtrains-11da67f4264e7ed7b80c86f1441e4d2d948aff66.tar.bz2
advtrains-11da67f4264e7ed7b80c86f1441e4d2d948aff66.zip
Add "seat_access" to saved fields
Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server
Diffstat (limited to 'advtrains/wagons.lua')
-rw-r--r--advtrains/wagons.lua2
1 files changed, 1 insertions, 1 deletions
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