From ef962fcc123334ac514517379a599edfdbe63e4f Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 19 Jul 2021 18:24:03 -0700 Subject: [PATCH] Minor cleanup --- entity.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entity.lua b/entity.lua index 30ef7e7..5f8e012 100644 --- a/entity.lua +++ b/entity.lua @@ -191,8 +191,7 @@ def.on_step = function(self, dtime) self.turn_timer = self.turn_timer+0.01 self.jump_timer = self.jump_timer+0.01 - if not self.chase - and self.timer > math.random(2, 5) then + if not self.chase and self.timer > math.random(2, 5) then if math.random() > 0.8 then self.state = "stand" else