Hello,
I have small problem with my code posted bellow.
I wanted to have simple dmg report, which would display only damaged blocks and how much they are damaged.
Problem is that, when one blocks is damaged. It will return all blocks from my ship, not only damaged.
What I missed?![Smile :) :)]()
Damage Reporter
I have small problem with my code posted bellow.
I wanted to have simple dmg report, which would display only damaged blocks and how much they are damaged.
Problem is that, when one blocks is damaged. It will return all blocks from my ship, not only damaged.
What I missed?

Code:
//==========================Damage Report==========================
void main()
{
string DamageReport = "";
var AllBlocks = new List<IMyTerminalBlock>();...