2D Mouse Aiming. Rotating the Pawn

I want my pawn to rotate to the direction of where my mouse cursor is. I know I can calculate the angle by by using ATan2 and thought I had it figured out with the follow code.
However when I run my game, my pawn is only able to rotate from 90-270 degrees. Can anyone help me find out what the issue is with my script?