mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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
|
||||
body:set_enabled(false)
|
||||
mob:set_flight(true)
|
||||
|
||||
function on_physics_update(delta)
|
||||
if not prepared then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue