removed temp element name
This commit is contained in:
parent
57bde1350e
commit
d6705907fc
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue