fix crash on seatpc nil
parent
5b7a06fe0f
commit
5eac1d1d27
BIN
advtrains.zip
BIN
advtrains.zip
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue