Or the gods need to be made not "god of thing X everywhere" but "god of thing X in this region where they're worshiped.
Would lead to interesting implications like having a region that's perpetual night because long ago its sun god was killed, but the death not affecting the entire world.
That works in settings with a small sun pulled by a chariot or whatever, but not in the Spelljammer/Planescape cosmology of Greyhawk and Forgotten Realms