mirror of
https://codeberg.org/SumianVoice/sum_airship.git
synced 2025-04-30 06:01: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
|
-- allow to exit
|
||||||
if self._driver and self._driver:is_player() then
|
if self._driver and self._driver:is_player() then
|
||||||
local name = self._driver:get_player_name()
|
local name = self._driver:get_player_name()
|
||||||
pi = player_info.p[name]
|
pi = self._driver:get_player_control()
|
||||||
exit = pi.just_pressed.sneak
|
exit = pi.sneak
|
||||||
end
|
end
|
||||||
if exit then
|
if exit then
|
||||||
me.detach(self)
|
me.detach(self)
|
||||||
|
|
Loading…
Add table
Reference in a new issue