Migrate to Foundryvtt v10
This commit is contained in:
1 parent
3bdb4d8d6c
commit
bfc7fb4955
2 files changed
+6
-4
No files matched your search
+1
-1
@@ -307,7 +307,7 @@ function isResponsibleGM() {
|
||||
if (!game.user.isGM)
|
||||
return false;
|
||||
const connectedGMs = game.users.filter(isActiveGM);
|
||||
return !connectedGMs.some(other => other.data._id < game.user.data._id);
|
||||
return !connectedGMs.some(other => other.id < game.user.id);
|
||||
}
|
||||
|
||||
function isActiveGM(user) {
|
||||
|
||||
Reference in new issue
Block a user