This commit was merged in pull request #820.
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ export class Misc {
|
||||
*/
|
||||
static documentIfResponsible(document) {
|
||||
if (Misc.isFirstConnectedGM() || (Misc.connectedGMs().length == 0 && Misc.isFirstOwnerPlayer(document))) {
|
||||
if (document.isOwner) {
|
||||
if (document?.isOwner) {
|
||||
return document
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user