master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit faa944193a - Show all commits

View File

@ -276,8 +276,11 @@ end
local get_velocity = function(self)
local v = self.object:get_velocity()
if v then
return (v.x * v.x + v.z * v.z) ^ 0.5
end
return (v.x * v.x + v.z * v.z) ^ 0.5
return 0
end