my website banner

correction of array element in line 50
authorDavid Polakovic <email@dpolakovic.space>
Thu, 20 Jul 2023 07:35:29 +0000 (09:35 +0200)
committerDavid Polakovic <email@dpolakovic.space>
Thu, 20 Jul 2023 07:35:29 +0000 (09:35 +0200)
cultivate.pl

index 542869b149cb64dc6e94c281bda2ade8a71937e8..a7a57ff333276f12aef7546cd81d17c26ddd2c9e 100644 (file)
@@ -46,8 +46,8 @@ if($vitality > $used_spc){
        my @lines = <$fh>;
        close($fh);
 
-       # update line 7
-       $lines[6] = "$rpl_text\n";
+       # update line 12
+       $lines[11] = "$rpl_text\n";
 
        # write updated content from array to the new bacteria
        open($fh, '>', $rndname);