Properly fix amnesiac doctor not having immunizations.

This commit is contained in:
Vgr E.Barry 2015-03-07 22:55:16 -05:00
parent 2fa8f2411f
commit 96933498d8

View File

@ -5907,6 +5907,9 @@ def start(cli, nick, chan, forced = False):
# Handle doctor
for doctor in var.ROLES["doctor"]:
var.DOCTORS[doctor] = math.ceil(var.DOCTOR_IMMUNIZATION_MULTIPLIER * len(pl))
for amn in var.FINAL_ROLES:
if var.FINAL_ROLES[amn] == "doctor":
var.DOCTORS[amn] = math.ceil(var.DOCTOR_IMMUNIZATION_MULTIPLIER * len(pl))
var.DAY_TIMEDELTA = timedelta(0)
var.NIGHT_TIMEDELTA = timedelta(0)