Fixed logical error that was causing units to only fire on friendly units