Added a function to turn fog of war on/off.