replaced several isdefined( condition ) && condition with is_true()

Also added the corresponding include if it was missing.
This commit is contained in:
JezuzLizard
2020-07-23 07:27:39 -07:00
parent b8751d00fc
commit 272a52cdf6
33 changed files with 109 additions and 98 deletions

View File

@ -1120,7 +1120,7 @@ bot_has_radar() //checked changed at own discretion
{
return 1;
}
if ( isDefined( self.hasspyplane ) && self.hasspyplane || isDefined( self.hassatellite ) && self.hassatellite)
if ( is_true( self.hasspyplane ) || is_true( self.hassatellite ) )
{
return 1;
}