diff --git a/balloon.lua b/balloon.lua index 1400571..b622245 100644 --- a/balloon.lua +++ b/balloon.lua @@ -287,7 +287,7 @@ function ship.on_step(self, dtime, moveresult) if self._driver and self._driver:is_player() then local name = self._driver:get_player_name() pi = self._driver:get_player_control() - exit = pi.sneak + exit = pi.aux1 end if exit then me.detach(self) @@ -314,7 +314,7 @@ function ship.on_step(self, dtime, moveresult) if pi.up then forward = 1 elseif pi.down then forward = -1 end if pi.jump then climb = 1 - elseif pi.aux1 then climb = -1 end + elseif pi.sneak then climb = -1 end if pi.right then right = 1 elseif pi.left then right = -1 end