From 546934884eefd5ee5a2b86b50632257733a4660f Mon Sep 17 00:00:00 2001 From: doom Date: Thu, 28 Sep 2023 21:18:07 -0700 Subject: [PATCH] ... --- tgui/packages/tgui/interfaces/DrawnMap.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tgui/packages/tgui/interfaces/DrawnMap.js b/tgui/packages/tgui/interfaces/DrawnMap.js index d9498cde6bae..c74667083386 100644 --- a/tgui/packages/tgui/interfaces/DrawnMap.js +++ b/tgui/packages/tgui/interfaces/DrawnMap.js @@ -7,12 +7,6 @@ export class DrawnMap extends Component { this.flatImgSrc = this.props.flatImage; this.backupImgSrc = this.props.backupImage; this.svg = this.props.svgData; - this.backupImg = null; - } - - componentDidMount() { - this.backupImg = new Image(); - this.backupImg.src = this.backupImgSrc; } parseSvgData(svgDataArray) { @@ -42,7 +36,7 @@ export class DrawnMap extends Component { }}>