mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-03 02:54:21 +00:00
Update Automation.php
This commit is contained in:
@@ -4764,12 +4764,8 @@ $wallimg = "<img src=\"".GP_LOCATE."img/g/g3".$targettribe."Icon.gif\" height=\"
|
||||
$database->query($q);
|
||||
$row['lastgavemedal'] = time()+MEDALINTERVAL;
|
||||
}
|
||||
$giveMedal = true;
|
||||
} else {
|
||||
$time = $row['lastgavemedal'] + MEDALINTERVAL;
|
||||
if ($time < time()) {
|
||||
$giveMedal = true;
|
||||
}
|
||||
$time = $row['lastgavemedal'] + MEDALINTERVAL;
|
||||
if ($time < time()) $giveMedal = true;
|
||||
}
|
||||
|
||||
if($giveMedal && MEDALINTERVAL > 0){
|
||||
|
||||
Reference in New Issue
Block a user