Particle Systems Automatically Change Global Fog Color

In my scene i have global fog set up and a particle system. If i enable the particle system it keeps changing the color of my fog automatically. I can’t find whats causing this to happen. Any hints would be greatly appreciated.

Nevermind I discovered the problem. A script kept adjusting the fog color but only when a particle was in the scene.