FPS FOV change in real time for both players

It looks like your FOV is just (90 - 10*DEV FOV)

Edit: This means you can omit the switch and simply use the the result of the little calculation