mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-06 04:44:21 +00:00
@@ -14,7 +14,7 @@ if(isset($_GET['u']))
|
||||
$newfile = "update.zip";
|
||||
if (!copy($file, $newfile))
|
||||
{
|
||||
echo "Update Files of Version $dl were not found.";
|
||||
echo "Update Files of Version $dl were not found.<br />";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -24,11 +24,11 @@ if(isset($_GET['u']))
|
||||
$zip->extractTo('../');
|
||||
$zip->close();
|
||||
unlink('update.zip');
|
||||
echo "Successfully Updated to Version $dl ";;
|
||||
echo "Successfully Updated to Version $dl.<br />";;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'Failed to update to Version $dl';
|
||||
echo 'Failed to update to Version $dl.<br />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ class Battle {
|
||||
if($type == 1)
|
||||
{
|
||||
for($y=4;$y<=44;$y++) {
|
||||
if($y == 4 || $y == 14 || $y == 23)
|
||||
if($y == 4 || $y == 14 || $y == 23 || $y == 44)
|
||||
{
|
||||
global ${'u'.$y};
|
||||
if($y >= $start && $y <= ($end-2) && ${def_ab.$abcount} > 0) {
|
||||
|
||||
Reference in New Issue
Block a user