diff --git a/html/src/app.js b/html/src/app.js
index 3fbfa40a..478bebca 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -14958,7 +14958,7 @@ speechSynthesis.getVoices();
)
return;
- if (!this.checkCanInvite(currentLocation)) return;
+ if (!$app.checkCanInvite(currentLocation)) return;
var L = this.parseLocation(currentLocation);
this.getCachedWorld({