Fix 'random' not keeping template ordering

This commit is contained in:
Vgr E. Barry 2015-12-02 08:38:08 -05:00
parent c6a5cea715
commit 548d212435

View File

@ -453,7 +453,7 @@ class RandomMode(GameMode):
self.LOVER_WINS_WITH_FOOL = True
self.MAD_SCIENTIST_SKIPS_DEAD_PLAYERS = 0 # always make it happen
self.ALPHA_WOLF_NIGHTS = 2
self.TEMPLATE_RESTRICTIONS = {template: frozenset() for template in var.TEMPLATE_RESTRICTIONS}
self.TEMPLATE_RESTRICTIONS = OrderedDict((template, frozenset()) for template in var.TEMPLATE_RESTRICTIONS)
self.TOTEM_CHANCES = { # shaman , crazed , wolf
"death": ( 8 , 1 , 1 ),