Disable stats for noreveal, and make the 'no reveal' message more clear
This commit is contained in:
parent
2f5712cb3b
commit
6dd9c199fd
@ -746,6 +746,7 @@ class NoRevealMode(GameMode):
|
|||||||
"""Roles are not revealed when players die."""
|
"""Roles are not revealed when players die."""
|
||||||
def __init__(self, arg=""):
|
def __init__(self, arg=""):
|
||||||
self.ROLE_REVEAL = "off"
|
self.ROLE_REVEAL = "off"
|
||||||
|
self.STATS_TYPE = "disabled"
|
||||||
super().__init__(arg)
|
super().__init__(arg)
|
||||||
self.ROLE_INDEX = ( 4 , 6 , 8 , 10 , 12 , 15 , 17 , 19 )
|
self.ROLE_INDEX = ( 4 , 6 , 8 , 10 , 12 , 15 , 17 , 19 )
|
||||||
self.ROLE_GUIDE = reset_roles(self.ROLE_INDEX)
|
self.ROLE_GUIDE = reset_roles(self.ROLE_INDEX)
|
||||||
|
@ -6825,7 +6825,7 @@ def start(cli, nick, chan, forced = False, restart = ""):
|
|||||||
elif var.ROLE_REVEAL == "team":
|
elif var.ROLE_REVEAL == "team":
|
||||||
options.append("team reveal")
|
options.append("team reveal")
|
||||||
elif var.ROLE_REVEAL == "off":
|
elif var.ROLE_REVEAL == "off":
|
||||||
options.append("no reveal")
|
options.append("no role reveal")
|
||||||
if var.ORIGINAL_SETTINGS.get("STATS_TYPE") is not None:
|
if var.ORIGINAL_SETTINGS.get("STATS_TYPE") is not None:
|
||||||
if var.STATS_TYPE == "disabled":
|
if var.STATS_TYPE == "disabled":
|
||||||
options.append("no stats")
|
options.append("no stats")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user