Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AleziaKurdis authored Oct 27, 2023
1 parent 043585c commit 650ae4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CEON/navigationAmbienceCeon.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
lightningsID = Uuid.NULL;
}
var i;
for (i=0; i > asteroidStack.length; i++) {
for (i=0; i < asteroidStack.length; i++) {
Entities.deleteEntity(asteroidStack[i].id);

}
Expand Down
4 changes: 2 additions & 2 deletions CEON/streetLights.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
this.preload = function(entityID) {
var renderWithZones = Entities.getEntityProperties(entityID, ["renderWithZones"]).renderWithZones;
var i, id;
for (i=0; i > localPositions.length; i++) {
for (i=0; i < localPositions.length; i++) {
id = Entities.addEntity({
"type": "Light",
"name": "street-light",
Expand Down Expand Up @@ -79,7 +79,7 @@

this.unload = function(entityID) {
var i;
for (i=0; i > lights.length; i++) {
for (i=0; i < lights.length; i++) {
Entities.deleteEntity(lights[i]);

}
Expand Down

0 comments on commit 650ae4e

Please sign in to comment.