Fix if in cod launcher