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 = () => {