diff --git a/README.md b/README.md index 9b8e1d2..ab69733 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Mod for [Luanti](https://luanti.org). You can download it from the in-game conte This mod adds an airship to Minetest. It should work in most games, but only Minetest Game, MineClone (VoxeLibre) and RePixture are supported for crafting recipes. Games based on those may still have crafting if they use the same items. Other games are not because the mod doesn't know what each game calls each item or node. Although, it shouldn't crash no matter what game you use, this is only for crafting recipes. -**Controls:** Flies like a boat, WASD, jump and aux1 (sprint) for up and down. Shift to dismount. Does not require fuel but will go faster when given any type of coal. +**Controls:** Flies like a boat, WSAD controls with the addition of jump for up, sneak for down, and aux1 (sprint) to dismount. Does not require fuel but will go faster when given any type of coal. ### Crafting diff --git a/balloon.lua b/balloon.lua index 65e3593..4982783 100644 --- a/balloon.lua +++ b/balloon.lua @@ -289,7 +289,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) @@ -316,7 +316,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