We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be4d0c commit 2c23fc0Copy full SHA for 2c23fc0
server/area.py
@@ -814,7 +814,7 @@ def remove_client(self, client):
814
client.send_ooc(
815
"You can only be a CM of a single area in this hub.")
816
# Trigger this routine only if a non-privileged client left the area, and there are no GMs in this hub.
817
- if self.locking_allowed and len(self._owners) <= 0 and len(self.area_manager.can_gm) <= 0:
+ if self.locking_allowed and len(self._owners) <= 0 and len(self.area_manager.owners) <= 0:
818
# Since anyone can lock/unlock, unlock if we were the last client in this area and it was locked.
819
if len(self.clients) - 1 <= 0:
820
if self.locked:
0 commit comments