]> git.lizzy.rs Git - dragonblocks.git/blobdiff - engine/spawned_entity.js
Add Map Manager
[dragonblocks.git] / engine / spawned_entity.js
index bdc5153469cfec9df22250710c53c5ca87744395..56b8903df39bd1c24fe0c4814e559dc18a462c1a 100644 (file)
@@ -86,7 +86,7 @@ dragonblocks.SpawnedEntity = class
                map.entities.push(this);
 
                this.tmp.map = map;
-               this.tmp.display = map.entityContainer.appendChild(this.display);
+               this.tmp.display = map.entityContainer.appendChild(this.tmp.display);
 
                this.teleport(x, y);
        }