mirror of
https://codeberg.org/SumianVoice/sum_airship.git
synced 2025-04-30 06:01:43 -04:00
Changed controls to more closely match expected behavior
This commit is contained in:
parent
2a5c2627a4
commit
143a00e06d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue