mirror of
https://github.com/APercy/ap_airship.git
synced 2025-03-15 07:51:20 +00:00
fixed door bug
This commit is contained in:
parent
5383dd0d8e
commit
6fdf526c58
2 changed files with 2 additions and 2 deletions
|
@ -847,9 +847,9 @@ minetest.register_entity("ap_airship:airship", {
|
|||
|
||||
noded = airutils.nodeatpos(airutils.pos_shift(curr_pos,{y=-4.5}))
|
||||
if (noded and noded.drawtype ~= 'airlike') or self.isonground then
|
||||
--self.object:set_bone_position("door", {x=0,y=-13.1266,z=54.1922}, {x=0,y=0,z=0}) -- -28
|
||||
self.object:set_bone_position("door", {x=0,y=-13.1266,z=54.1922}, {x=-28,y=0,z=0})
|
||||
else
|
||||
--self.object:set_bone_position("door", {x=0,y=-13.1266,z=54.1922}, {x=0,y=0,z=0})
|
||||
self.object:set_bone_position("door", {x=0,y=-13.1266,z=54.1922}, {x=0,y=0,z=0})
|
||||
|
||||
if self._rescue_plane then
|
||||
ap_airship.timed_anchor_entity(self, curr_pos, yaw, 3, self.dtime)
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue