Checked for inheritance rather than direct checking.

Fixes https://github.com/michail-nikolaev/task-force-arma-3-radio/issues/342
Merge pull request #356 from CorruptedHeart/bugfix

Checked for inheritance rather than direct checking of rebreather.