From 8c43f4d02693cddde0eb136ad9fe5d2f2bf210a4 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Thu, 24 Nov 2016 20:56:23 +0100 Subject: document new train controls and add combination for getting off --- wagons.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wagons.lua') diff --git a/wagons.lua b/wagons.lua index 296bc54..a5734d6 100644 --- a/wagons.lua +++ b/wagons.lua @@ -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 -- cgit v1.2.3