mirror of
https://github.com/APercy/airutils
synced 2025-10-04 08:16:25 +02:00
fix old planes
This commit is contained in:
parent
eef4715a3a
commit
2ce7a3221f
@ -262,6 +262,9 @@ function airutils.logic(self)
|
|||||||
self._custom_step_additional_function(self)
|
self._custom_step_additional_function(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--fix for old planes on map
|
||||||
|
if not self._wing_angle_of_attack then self._wing_angle_of_attack = 2 end
|
||||||
|
|
||||||
if self._wing_configuration == self._wing_angle_of_attack and self._flap then
|
if self._wing_configuration == self._wing_angle_of_attack and self._flap then
|
||||||
airutils.flap_on(self)
|
airutils.flap_on(self)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user