aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/advtrains/wagons.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/advtrains/wagons.lua b/advtrains/advtrains/wagons.lua
index 461dfb5..1a889b5 100644
--- a/advtrains/advtrains/wagons.lua
+++ b/advtrains/advtrains/wagons.lua
@@ -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