Ballast resistor

looks like there is a wire from the coil directly to the mains switch.
What was there before
had to turn on the main switch before I could turn the key too start engine.

not soo good pics