; DWX 1.40 Mobile Mines Explosive Section detonator [fix 02]

var SMDM

If ( OwnName $= "SMDM Explosive Section" ) Then {
	SMDM = 1
} endif

If NOT SMDM Then {
	SETPRIORITY 254 DETONATE
} ELSE {
	IF ( ( TgtSilos > 0 ) OR ( TgtSpd < 1 ) ) THEN {
		SETPRIORITY 254 DETONATE
	} Endif
} Endif
