From 5ed7662798f057c6886c5a6a83c44932f074036c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 16 Oct 2023 14:13:33 -0500 Subject: [PATCH] 1 second delay for mob movements --- src/engine/mobileAI/MobAI.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 4b7a14ef..2b9ae40a 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -722,8 +722,7 @@ public class MobAI { try { if(mob.getTimestamps().containsKey("lastChase") == false) { - mob.getTimestamps().put("lastChase", System.currentTimeMillis()); - return;//ensure mob timestamps have the lastChase parameter + mob.getTimestamps().put("lastChase", System.currentTimeMillis());//ensure mob timestamps have the lastChase parameter } if(mob.getTimestamps().get("lastChase") + 1000 < System.currentTimeMillis())