mirror of
https://github.com/APercy/ap_airship.git
synced 2025-07-19 20:44:54 -04:00
fixed sit on attach
This commit is contained in:
parent
0ef1bc028a
commit
d757faca52
2 changed files with 2 additions and 1 deletions
|
@ -204,7 +204,7 @@ local function right_click_chair(self, clicker)
|
|||
if index > 0 then
|
||||
local chair_index = find_chair_index(ship_self, self.object)
|
||||
--minetest.chat_send_all("index: "..chair_index)
|
||||
if ship_self._passenger_is_sit[index] ==0 and chair_index then
|
||||
if ship_self._passenger_is_sit[index] == 0 and chair_index then
|
||||
local dest_pos = ship_self._chairs_pos[chair_index]
|
||||
if dest_pos then
|
||||
dest_pos.y = dest_pos.y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue