Are you sure it isn't from eating it's body or something... the only thing in there that could cause leeching is the counter leech gene, so it shouldn't be able to leech from anything other than tie feeders...
I don't see what else could be causing it... there's nothing in there to leech while in torpedo state... Maybe if the bot feeds friends and has been fooled by the conspec thing....
My guess would be the energy comes from eating it's own body or something, check to see if it's losing body size while gaining energy... or maybe a multibot trying to share nrg, I noticed the early versions of seasnake fell for the fake conspec and tried to form a snake with spinner and sharing energy with them...
Either way feel free to replace the 31000 with 0... I also wrote that as comment right above the gene in case anyone had objections to using counter leeching in F2...
But don't remove the entire gene, there's a line with a ' in it, use that line instead of the one with 31000...
And the results should be the same, since the counter leeching gene only affects tie feeders... there's nothing in the code that would cause the oponent to push -1 or -6 into tieloc, so only a tie feeder would be affected by the gene.
All I can say is that if a non tie feeder is ending up giving energy to spinner then I had nothing to do with it
But as mentioned, feel free to swap the tieval line the only difference should be a few fights in F1 that last a litle longer.