diff --git a/tgui/packages/tgui/interfaces/CanvasLayer.js b/tgui/packages/tgui/interfaces/CanvasLayer.js
index d88a2a6f4441..e647ae765b1c 100644
--- a/tgui/packages/tgui/interfaces/CanvasLayer.js
+++ b/tgui/packages/tgui/interfaces/CanvasLayer.js
@@ -256,46 +256,56 @@ export class CanvasLayer extends Component {
return count;
}
- render() {
- // edge case where a new user joins and tries to draw on the canvas before they cached the png
+ displayCanvas() {
return (
- {this.state.mapLoad ? (
-
- {this.complexity > 500 && (
-
-
-
- )}
-
- ) : (
-
-
- Please wait a few minutes before attempting to access the canvas.
-
-
+
)}
+
);
}
+
+ displayLoading() {
+ return (
+
+
+
+ Please wait a few minutes before attempting to access the canvas.
+
+
+
+ );
+ }
+
+ render() {
+ if (this.state.mapLoad) {
+ return this.displayCanvas();
+ } else {
+ // edge case where a new user joins and tries to draw on the canvas before they cached the png
+ return this.displayLoading();
+ }
+ }
}