mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
fix: flight does not affect to the first tick
This commit is contained in:
parent
0c2e655928
commit
c13a7110e8
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ end
|
||||||
|
|
||||||
local prepared = false
|
local prepared = false
|
||||||
body:set_enabled(false)
|
body:set_enabled(false)
|
||||||
|
mob:set_flight(true)
|
||||||
|
|
||||||
function on_physics_update(delta)
|
function on_physics_update(delta)
|
||||||
if not prepared then
|
if not prepared then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue