Invert if statement for clarity in player physics