]> ruin.nu Git - ndwebbie.git/blobdiff - ND/Web/Pages/EditRaid.pm
Make new raids 12:00 GMT the next day
[ndwebbie.git] / 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;