Wasteland 2 cheats won’t work no matter how many times I restart both games

So, the cheats don’t work. At least for me. I’m on windows 10 bought the game through steam started a new game when I got the cheat engine installed. Clicked play through the game and all cheats besides unlimited ammo turn off as soon as you exit a menu or open one, and the unlimited ammo cheat dosent even work. Anybody know how to fix this?