Fixed bug thing part II

This commit is contained in:
lustlion 2022-01-18 20:29:43 +01:00
parent d6de26180b
commit 5f0256e0af
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ end
function Fairy:DoPhysics() function Fairy:DoPhysics()
local random_x = math.random(-0.04,0.04) local random_x = math.random(-4, 4)/100
local random_y = math.random(-0.04,0.04) local random_y = math.random(-4, 4)/100
self.vel.x = self.vel.x + random_x self.vel.x = self.vel.x + random_x
self.vel.y = self.vel.y + random_y self.vel.y = self.vel.y + random_y
-- move -- move