]> ruin.nu Git - ndwebbie.git/commitdiff
BUGFIX: hour is 0 at midnight, so has to account for that
authorMichael Andreen <harv@ruin.nu>
Sun, 9 Sep 2007 20:32:04 +0000 (22:32 +0200)
committerMichael Andreen <harv@ruin.nu>
Sun, 9 Sep 2007 20:32:04 +0000 (22:32 +0200)
ND/Web/Pages/EditRaid.pm

index e701f1d2d418492ee9912fd9e05dc4d88c2e1968..0852e8e6c778243a4a3c5584433ee6d98e776252 100644 (file)
@@ -253,7 +253,7 @@ sub render_body {
        }else{
                $BODY->param(Waves => 3);
                my @time = gmtime;
-               $BODY->param(LandingTick => $self->{TICK} + 24 - $time[2] + 12);
+               $BODY->param(LandingTick => $self->{TICK} + 23 - $time[2] + 13);
        }
        $BODY->param(Error => $error);
        return $BODY;