Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed Sep 29, 2023
1 parent 4835d0b commit 5469348
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tgui/packages/tgui/interfaces/DrawnMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -42,7 +36,7 @@ export class DrawnMap extends Component {
}}>
<img
src={this.flatImgSrc}
alt={this.backupImg}
alt={this.backupImgSrc || "Please wait for a new tacmap announcement"}
style={{
position: 'absolute',
zIndex: 0,
Expand Down

0 comments on commit 5469348

Please sign in to comment.