Record gunner as killer if they shoot wolf at night

Caused issues due to killers not being defined. For example, a VG lover
of the shot wolf would join the village team (against wolves) if gunner
shot their wolflover during night. Now it properly sides the VG with
wolves (against village).
This commit is contained in:
skizzerz 2018-04-26 14:21:31 -05:00
parent 30aaa2c802
commit f77cca1f07

View File

@ -3516,6 +3516,7 @@ def transition_day(gameid=0):
else: else:
message.append(messages["gunner_killed_wolf_overnight_no_reveal"].format(victim, deadwolf)) message.append(messages["gunner_killed_wolf_overnight_no_reveal"].format(victim, deadwolf))
dead.append(deadwolf) dead.append(deadwolf)
killers[deadwolf].append(victim)
var.GUNNERS[victim] -= 1 # deduct the used bullet var.GUNNERS[victim] -= 1 # deduct the used bullet
for victim in dead: for victim in dead: