From 0d9a714c4a4623ba5ecd5d1895a729a61d32a4a8 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Sat, 16 Apr 2011 21:55:03 -0600 Subject: [PATCH] Oops. --- modules/Werewolf.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Werewolf.pm b/modules/Werewolf.pm index d2114c4..3f20c21 100644 --- a/modules/Werewolf.pm +++ b/modules/Werewolf.pm @@ -1239,7 +1239,7 @@ sub _judgment { sub _calclvn { my $pc = keys %PLAYERS; $pc -= scalar @SHOT; - $LVOTEN = int(rand($pc+1) / 2 + 1); + $LVOTEN = int($pc + 1 / 2 + 1); return 1; }