diff --git a/modules/Werewolf.pm b/modules/Werewolf.pm index d4418cb..f274b7e 100644 --- a/modules/Werewolf.pm +++ b/modules/Werewolf.pm @@ -1237,7 +1237,7 @@ sub _chkbed { # Send out any warnings. if (scalar @warn) { - privmsg($gsvr, $gchan, join(', ', @warn).': You have been idling for a while. Please remember to say something soon or you might be declared dead.') + privmsg($gsvr, $gchan, "\2".join(', ', @warn).": You have been idling for a while. Please remember to say something soon or you might be declared dead.\2") } return 1; @@ -1307,11 +1307,7 @@ sub _player_del { # Update LVOTEN. if ($LVOTEN) { $LVOTEN-- } - # Call lynch management IF judgment did not call us. - if ($PHASE and !$judgment) { - if ($PHASE eq 'd') { _lynchmng() } - } - + # Check for winning conditions. if (!$PGAME) { my $wolves; @@ -1325,6 +1321,11 @@ sub _player_del { # Check if there's any more players. if (!keys %PLAYERS) { _gameover('n') } } + + # Call lynch management IF judgment did not call us. + if ($PHASE and !$judgment) { + if ($PHASE eq 'd') { _lynchmng() } + } # Check if nighttime should end, given we are night. if ($PHASE) { if ($PHASE eq 'n') { _chknight() } }