bunch of updates

This commit is contained in:
2018-12-13 01:34:06 -06:00
parent 52eb38ecf0
commit 6aa89a62c8
6 changed files with 177 additions and 141 deletions
+2
View File
@@ -68,6 +68,7 @@ class CorpJournal extends Command
foreach($structures as $structure) {
foreach($finishedCorps as $finished) {
if($finished == $structure->corporation_id) {
$this->line('Finished Journal for ' . $structure->corporation_name . '\n');
$corpCompleted = true;
break;
} else {
@@ -79,6 +80,7 @@ class CorpJournal extends Command
}
//If we didn't find the corporation was already done, then complete it.
if($corpCompleted === false) {
$this->line('Getting Journal for ' . $structure->corporation_name . '\n');
$this->GetJournal($structure->character_id);
$finishedCorps[sizeof($finishedCorps)] = $structure->corporation_id;
//After the corporation has been done set the variable back to false