Add "seat_access" to saved fields

Fixes seat access properties not being saved
Reported by Och_Noe in Linuxworks Server
master
orwell96 2018-01-15 13:35:50 +01:00 committed by GitHub
parent 27afd89d1b
commit 11da67f426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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