Merge pull request #1 from yi12345/master

yi12345s fixes
This commit is contained in:
akshay9
2012-09-14 00:50:49 -07:00
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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 />';
}
}
}
+1 -1
View File
@@ -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) {