diff --git a/Templates/Ajax/quest_core.tpl b/Templates/Ajax/quest_core.tpl index 8178658f..903e09ea 100644 --- a/Templates/Ajax/quest_core.tpl +++ b/Templates/Ajax/quest_core.tpl @@ -605,7 +605,7 @@ if ($ironL<1 || $clayL<1 || $woodL<1 || $cropL<1){?> +if (!isset($lSubmited) || $lSubmited!=210){?> {"markup":"\n\t\t

\"\" <\/h1>
”<\/i>

<\/div>
\"\/>
<\/span><\/div>\n\t\t

<\/div>\n\t\t","number":"-14","reward":false,"qgsrc":"q_luserinfo['tribe'];?>","msrc":"","altstep":99} {"markup":"\n\t\t

\"\" <\/h1>
”<\/i>

<\/p>\"Lumber\"50  \"Clay\"30  \"Iron\"60  \"Crop\"20  <\/div>
<\/a><\/span><\/div>\n\t\t","number":14,"reward":{"wood":50,"clay":30,"iron":60,"crop":20},"qgsrc":"q_luserinfo['tribe'];?>","msrc":"","altstep":99} diff --git a/Templates/Ajax/quest_core25.tpl b/Templates/Ajax/quest_core25.tpl index 309ae640..f31b4b4b 100644 --- a/Templates/Ajax/quest_core25.tpl +++ b/Templates/Ajax/quest_core25.tpl @@ -507,7 +507,7 @@ $getvID = $database->getVillageID($session->uid); $nvillage = $database->getFieldDistance($getvID); $ncoor = $database->getCoor($nvillage); $nvillagename = $database->getVillageField($nvillage,"name"); -if ($x!=$ncoor['x'] or $y!=$ncoor['y']){?> +if (!isset($x) || !isset($y) || $x!=$ncoor['x'] || $y!=$ncoor['y']){?> {"markup":"\n\t\t

<\/span><\/div><\/div>\n\t\t