Update init.lua

This commit is contained in:
Sumyjkl 2022-08-08 23:47:34 +10:00
parent ad51f65435
commit de71343291

View file

@ -349,7 +349,7 @@ function boat.on_step(self, dtime, moveresult)
end
if has_air_currents and (self._driver or not is_on_floor) then
vel = sum_air_currents.apply_wind(vel)
vel = sum_air_currents.apply_wind(vel, p)
end
local v = self.object:get_velocity()