diff options
Diffstat (limited to 'wagons.lua')
-rw-r--r-- | wagons.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -261,6 +261,9 @@ function wagon:on_step(dtime) local pc=driver:get_player_control()
advtrains.on_control_change(pc, self:train(), self.wagon_flipped)
+ if pc.aux1 and pc.sneak then
+ self:get_off(seatno)
+ end
self.old_player_control_bits=driver:get_player_control_bits()
end
|