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 { }}>