mirror of
https://codeberg.org/SumianVoice/sum_airship.git
synced 2025-04-29 21:51:43 -04:00
fix dependency
This commit is contained in:
parent
a32c128752
commit
d48df74c47
1 changed files with 2 additions and 2 deletions
|
@ -286,8 +286,8 @@ function ship.on_step(self, dtime, moveresult)
|
|||
-- allow to exit
|
||||
if self._driver and self._driver:is_player() then
|
||||
local name = self._driver:get_player_name()
|
||||
pi = player_info.p[name]
|
||||
exit = pi.just_pressed.sneak
|
||||
pi = self._driver:get_player_control()
|
||||
exit = pi.sneak
|
||||
end
|
||||
if exit then
|
||||
me.detach(self)
|
||||
|
|
Loading…
Add table
Reference in a new issue