]> ruin.nu Git - ndwebbie.git/commitdiff
Make new raids 12:00 GMT the next day
authorMichael Andreen <harv@ruin.nu>
Sun, 9 Sep 2007 20:28:05 +0000 (22:28 +0200)
committerMichael Andreen <harv@ruin.nu>
Sun, 9 Sep 2007 20:28:05 +0000 (22:28 +0200)
ND/Web/Pages/EditRaid.pm

index 4ed3981c9fe33bba91e6d8a786d411719778ad52..e701f1d2d418492ee9912fd9e05dc4d88c2e1968 100644 (file)
@@ -252,7 +252,8 @@ sub render_body {
                $BODY->param(Targets => \@targets);
        }else{
                $BODY->param(Waves => 3);
-               $BODY->param(LandingTick => $self->{TICK}+12);
+               my @time = gmtime;
+               $BODY->param(LandingTick => $self->{TICK} + 24 - $time[2] + 12);
        }
        $BODY->param(Error => $error);
        return $BODY;