mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:03:35 +02:00
remove debug
This commit is contained in:
parent
ca459e0bd6
commit
1766f3fc23
1 changed files with 1 additions and 2 deletions
|
@ -61,8 +61,7 @@ function updateFish(deltaTime) {
|
||||||
if (fish[i].entityId) {
|
if (fish[i].entityId) {
|
||||||
// Get only the properties we need, because that is faster
|
// Get only the properties we need, because that is faster
|
||||||
var properties = flockProperties[i];
|
var properties = flockProperties[i];
|
||||||
//var properties = Entities.getEntityProperties(fish[i].entityId, ["position", "velocity"]);
|
// If fish has been deleted, bail
|
||||||
// If Bird has been deleted, bail
|
|
||||||
if (properties.id != fish[i].entityId) {
|
if (properties.id != fish[i].entityId) {
|
||||||
fish[i].entityId = false;
|
fish[i].entityId = false;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue