amnesiac can't turn into default role
It seems I wasn't a villager, I was actually a villager all along
This commit is contained in:
parent
4bced1cf2a
commit
43676344a8
@ -5348,7 +5348,7 @@ def start(cli, nick, chan, forced = False):
|
|||||||
var.ORIGINAL_ROLES = copy.deepcopy(var.ROLES) # Make a copy
|
var.ORIGINAL_ROLES = copy.deepcopy(var.ROLES) # Make a copy
|
||||||
|
|
||||||
# Handle amnesiac
|
# Handle amnesiac
|
||||||
amnroles = list(var.ROLE_GUIDE.keys())
|
amnroles = list(var.ROLE_GUIDE.keys() - [var.DEFAULT_ROLE])
|
||||||
for nope in var.AMNESIAC_BLACKLIST:
|
for nope in var.AMNESIAC_BLACKLIST:
|
||||||
amnroles.remove(nope)
|
amnroles.remove(nope)
|
||||||
for nope in var.TEMPLATE_RESTRICTIONS.keys():
|
for nope in var.TEMPLATE_RESTRICTIONS.keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user