removed temp element name

This commit is contained in:
Lily-129 2022-01-28 09:29:59 -05:00 committed by GitHub
parent 57bde1350e
commit d6705907fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ elements.portal_in = {
for (var i = 1; i < width; i++) {
for (var j = 1; j < height; j++) {
if (!isEmpty(i,j)) {
if(pixelMap[i][j].element == "testff") {
if(pixelMap[i][j].element == "portal_out") {
if(!includesArray(pixel.portalArray,[i,j])) {
pixel.portalArray.push([i,j])
}
@ -55,4 +55,4 @@ elements.portal_out = {
behavior: behaviors.WALL,
category: "machines",
state: "solid",
}
}