From ac2f28e6edf6136d188b35785424b7355bb083ac Mon Sep 17 00:00:00 2001 From: skizzerz Date: Wed, 10 Aug 2016 12:56:48 -0500 Subject: [PATCH] Fix totem display glitch in maelstrom --- src/gamemodes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gamemodes.py b/src/gamemodes.py index 20faa26..38eaeae 100644 --- a/src/gamemodes.py +++ b/src/gamemodes.py @@ -1261,6 +1261,10 @@ class MaelstromMode(GameMode): for doctor in var.ROLES["doctor"]: var.DOCTORS[doctor] = math.ceil(var.DOCTOR_IMMUNIZATION_MULTIPLIER * lpl) + # Clear totem tracking; this would let someone that gets shaman twice in a row to give + # out a totem to the same person twice in a row, but oh well + var.LASTGIVEN = {} + # for end of game stats to show what everyone ended up as on game end for role, pl in var.ROLES.items(): if role in var.TEMPLATE_RESTRICTIONS.keys():