don't message gunners if they have no bullets left
This commit is contained in:
parent
40863c3b8e
commit
48a404d170
@ -3886,6 +3886,8 @@ def transition_night(cli):
|
|||||||
continue
|
continue
|
||||||
elif g in var.ROLES["amnesiac"]:
|
elif g in var.ROLES["amnesiac"]:
|
||||||
continue
|
continue
|
||||||
|
elif var.GUNNERS[g] == 0:
|
||||||
|
continue
|
||||||
norm_notify = g in var.PLAYERS and var.PLAYERS[g]["cloak"] not in var.SIMPLE_NOTIFY
|
norm_notify = g in var.PLAYERS and var.PLAYERS[g]["cloak"] not in var.SIMPLE_NOTIFY
|
||||||
role = "gunner"
|
role = "gunner"
|
||||||
if g in var.ROLES["sharpshooter"]:
|
if g in var.ROLES["sharpshooter"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user