From c7d737e345a3f9f32b136b6d7a281b63d0a69ace Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sat, 25 Nov 2017 10:11:15 +0100 Subject: [PATCH] fix: actually checking for a rat now in the rat quest --- Templates/Ajax/quest_core25.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Ajax/quest_core25.tpl b/Templates/Ajax/quest_core25.tpl index 2b141638..f68fb105 100644 --- a/Templates/Ajax/quest_core25.tpl +++ b/Templates/Ajax/quest_core25.tpl @@ -538,7 +538,7 @@ if ($ironL<2 || $clayL<2 || $woodL<2 || $cropL<2){?> //comming soon //Check rat is in villa $rat = $database->getEnforce(0, $village->wid); -if ($rat < 1){?> +if ($rat['u31'] < 1){?> {"markup":"\n\t\t

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

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

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