belovachap / SubBoomUnity

1 stars 1 forks source link

Game Crashes After Submarine Dies By Its Own Explosion #29

Closed spicewooddev closed 2 months ago

spicewooddev commented 3 months ago

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.