From 523c4390fadbe34a50518cf0b087d10d97b2ced2 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 9 Jun 2013 20:55:37 +0200 Subject: [PATCH] Fixed entities not updating --- src/world/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index 2d15843d0a..3f2b77ac66 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -366,7 +366,6 @@ class Entity extends Position{ return false; } - $hasUpdate = false; $now = microtime(true); if($this->check === false){ $this->lastUpdate = $now; @@ -378,6 +377,7 @@ class Entity extends Position{ $this->tickCounter = 1; $hasUpdate = $this->environmentUpdate(); }else{ + $hasUpdate = true; $this->tickCounter = 0; }