public static void BlowUp(ushort[] detenator, Level lvl) { try { foreach (C4s c4 in lvl.C4list) { if (c4.detenator[0] == detenator[0] && c4.detenator[1] == detenator[1] && c4.detenator[2] == detenator[2]) { foreach (C4s.OneC4 c in c4.list) { lvl.MakeExplosion(c.pos[0], c.pos[1], c.pos[2], 0); } lvl.C4list.Remove(c4); } } } catch { } }