fix: is_admin reset
feat: submodule bump
This commit is contained in:
parent
677ac45f13
commit
cbfc2a7bf6
@ -1 +1 @@
|
||||
Subproject commit c90f4ce33d706005ac81cdd2d2f710167104df4d
|
||||
Subproject commit 3e8d5fda854c573261085c8f5ff706fed21ac34f
|
@ -106,6 +106,7 @@ class SessionStartOperator(bpy.types.Operator):
|
||||
)
|
||||
|
||||
if client.state == 0:
|
||||
settings.is_admin = False
|
||||
self.report(
|
||||
{'ERROR'},
|
||||
"A session is already hosted on this address")
|
||||
@ -154,6 +155,7 @@ class SessionStopOperator(bpy.types.Operator):
|
||||
def execute(self, context):
|
||||
global client, delayables
|
||||
settings = context.window_manager.session
|
||||
settings.is_admin = False
|
||||
assert(client)
|
||||
|
||||
client.remove(settings.user_uuid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user