commit 60ebc25db0b0c86e4bbf6f35898e7711fad9e30a
parent a7c64ea991e48557ed552f6eb5a35918558eb30e
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Fri, 30 Dec 2022 23:23:46 -0800
fix kill vote form
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/web/handlers/api/v1/werewolf.go b/pkg/web/handlers/api/v1/werewolf.go
@@ -505,8 +505,8 @@ func (b *Werewolf) killVote() string {
// Send a PM to all players saying they have to vote for a name
for _, player := range b.playersAlive {
msg := "Who do you vote to kill? (name | none)"
- b.createKillVoteForm()
- b.Narrate(msg, &player.UserID, nil)
+ msg += b.createKillVoteForm()
+ b.NarrateRaw(msg, &player.UserID, nil)
}
votes := b.waitVotes()