Merge pull request #17 from nyuszika7h/fix-none-totem
Fix None receiving a mysterious totem when the receiver died
This commit is contained in:
commit
dcf5ec63e1
@ -2080,7 +2080,8 @@ def transition_day(cli, gameid=0):
|
||||
var.LOGGER.logBare(bodyguard, "KILLEDWHENGUARDINGWOLF")
|
||||
dead.append(bodyguard)
|
||||
for havetotem in havetotem.values():
|
||||
message.append("\u0002{0}\u0002 seem{1} to be in possession of a mysterious totem...".format(havetotem, "ed" if havetotem in dead else "s"))
|
||||
if havetotem:
|
||||
message.append("\u0002{0}\u0002 seem{1} to be in possession of a mysterious totem...".format(havetotem, "ed" if havetotem in dead else "s"))
|
||||
cli.msg(chan, "\n".join(message))
|
||||
for msg in message:
|
||||
var.LOGGER.logMessage(msg.replace("\02", ""))
|
||||
|
Loading…
Reference in New Issue
Block a user