Changed mortars to use function for flares