From 5f0256e0afc22c4f091fb621b7ff06b7d3be79c7 Mon Sep 17 00:00:00 2001 From: lustlion Date: Tue, 18 Jan 2022 20:29:43 +0100 Subject: [PATCH] Fixed bug thing part II --- data/scripts/entities/fairy.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/scripts/entities/fairy.lua b/data/scripts/entities/fairy.lua index b9c92e9..c06d042 100644 --- a/data/scripts/entities/fairy.lua +++ b/data/scripts/entities/fairy.lua @@ -50,8 +50,8 @@ end function Fairy:DoPhysics() - local random_x = math.random(-0.04,0.04) - local random_y = math.random(-0.04,0.04) + local random_x = math.random(-4, 4)/100 + local random_y = math.random(-4, 4)/100 self.vel.x = self.vel.x + random_x self.vel.y = self.vel.y + random_y -- move