Update sendback_4.tpl

This commit is contained in:
Shadow
2014-01-04 16:08:25 +02:00
parent 3aab221764
commit 902d153f2e
+1 -1
View File
@@ -157,7 +157,7 @@ $tocoor = $database->getCoor($enforce['vref']);
$fastertroops = 1; $fastertroops = 1;
} }
$time = round($generator->procDistanceTime($fromCor,$toCor,min($speeds),1)/$fastertroops); $time = round($generator->procDistanceTime($fromCor,$toCor,min($speeds),1)/$fastertroops);
$foolartefact = $database->getFoolArtefactInfo(2,$village->wid,$seesion->uid); $foolartefact = $database->getFoolArtefactInfo(2,$village->wid,$session->uid);
if(count($foolartefact) > 0){ if(count($foolartefact) > 0){
foreach($foolartefact as $arte){ foreach($foolartefact as $arte){
if($arte['bad_effect'] == 1){ if($arte['bad_effect'] == 1){