diff options
author | orwell96 <mono96.mml@gmail.com> | 2018-01-15 13:35:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 13:35:50 +0100 |
commit | 11da67f4264e7ed7b80c86f1441e4d2d948aff66 (patch) | |
tree | 48fdb7d5d807d1629d86ed7926903c57e605b3b5 | |
parent | 27afd89d1b337fe4a4d34f2184f4838c2c8722c1 (diff) | |
download | advtrains-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
-rw-r--r-- | advtrains/wagons.lua | 2 |
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
|