From a747b62474015690571015e7f6f4ceb7fcc41ef9 Mon Sep 17 00:00:00 2001 From: doom Date: Fri, 29 Sep 2023 11:33:37 -0700 Subject: [PATCH] ... --- tgui/packages/tgui/interfaces/DrawnMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgui/packages/tgui/interfaces/DrawnMap.js b/tgui/packages/tgui/interfaces/DrawnMap.js index 5143b847c3bb..c22f1f24c609 100644 --- a/tgui/packages/tgui/interfaces/DrawnMap.js +++ b/tgui/packages/tgui/interfaces/DrawnMap.js @@ -13,7 +13,7 @@ export class DrawnMap extends Component { this.svg = this.props.svgData; } - componentWillMount() { + componentDidMount(){ this.img = new Image(); this.img.src = this.flatImgSrc; this.img.onload = () => {