should be a fairly easy fix. make a nested foreach loop for both submarine and exploded charges (if not already) to detect if a submarine was hit by its own explosion charge. if true, the submarine is already deleted, but remove the explosion charge from the list as well.
should be a fairly easy fix. make a nested foreach loop for both submarine and exploded charges (if not already) to detect if a submarine was hit by its own explosion charge. if true, the submarine is already deleted, but remove the explosion charge from the list as well.