fix crash on seatpc nil

master
orwell96 2017-02-15 21:19:30 +01:00
parent 5b7a06fe0f
commit 5eac1d1d27
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -227,6 +227,9 @@ function wagon:on_step(dtime)
if not self.seatp then
self.seatp={}
end
if not self.seatpc then
self.seatpc={}
end
--Legacy: remove infotext since it does not work this way anyways
self.infotext=nil