Added checking for teammate before firing