Fixed typo (maybe)

This commit is contained in:
Danielv123 committed 2018-01-09 11:33:14 +01:00
1 parent 68b0d3b75a
commit 9ce7cf5f28
1 file changed
+3 -2
+3 -2
View File
@@ -226,8 +226,9 @@ for(let i = 1; i <= 3; i++){
x:-1, x:-1,
y:-1, y:-1,
}, },
}, };
entityDrawRules["assembling-machine-"+i] = assemblingMachineTemplate; let name = "assembling-machine-"+i;
entityDrawRules[name] = assemblingMachineTemplate;
} }
function drawEntity(entity, dontCache){ function drawEntity(entity, dontCache){
if(entity.x && entity.y){ if(entity.x && entity.y){