]> git.lizzy.rs Git - dragonblocks.git/blobdiff - engine/spawned_entity.js
Make dragonblocks.getTexture() return value contain background-size: cover
[dragonblocks.git] / engine / spawned_entity.js
index 5bbb96e3c15945d8f8714ccb2635befcccdca1d3..f2c0635ad596ebb584ba2df4fc6fe0ccdf842540 100644 (file)
@@ -246,7 +246,6 @@ dragonblocks.SpawnedEntity = class
        updateTexture()
        {
                this.tmp.display.style.background = dragonblocks.getTexture(this.texture);
-               this.tmp.display.style.backgroundSize = "cover";
        }
 
        teleport(x, y)