]> ruin.nu Git - ndwebbie.git/commitdiff
Show target coords as soon as they are released
authorMichael Andreen <harv@ruin.nu>
Sat, 2 Sep 2017 12:06:41 +0000 (14:06 +0200)
committerMichael Andreen <harv@ruin.nu>
Sat, 2 Sep 2017 12:06:41 +0000 (14:06 +0200)
lib/NDWeb/Controller/Root.pm

index 4608240644ad7cb0f212f6671f41641e0ce98aec..5faa024d2567b5c72c0c55aa82262dfd69d367ee 100644 (file)
@@ -129,8 +129,8 @@ sub listTargets : Private {
 
        my $dbh = $c ->model;
 
 
        my $dbh = $c ->model;
 
-       my $query = $dbh->prepare(q{SELECT t.id, r.id AS raid, r.tick+c.wave-1 AS landingtick, 
-               (released_coords AND old_claim(timestamp)) AS released_coords, coords(x,y,z),c.launched,c.wave,c.joinable
+       my $query = $dbh->prepare(q{SELECT t.id, r.id AS raid, r.tick+c.wave-1 AS landingtick,
+               released_coords, coords(x,y,z),c.launched,c.wave,c.joinable
 FROM raid_claims c
        JOIN raid_targets t ON c.target = t.id
        JOIN raids r ON t.raid = r.id
 FROM raid_claims c
        JOIN raid_targets t ON c.target = t.id
        JOIN raids r ON t.raid = r.id