Starting differential update of map

This commit is contained in:
Ziver Koc 2023-01-09 00:51:51 +01:00
parent 628c89b1d1
commit 94485b5633

View file

@ -105,7 +105,13 @@ function drawMap(){
// Background
svg.image("?bgimage", "100%", "100%").x(0).y(0).addClass("bg-image");
if (SVG.find("svg .bg-image").length > 0) {
var bg_image = svg.image("?bgimage").addClass("bg-image")
.x(0)
.y(0)
.width("100%")
.height("100%");
}
// Rooms