Emergency Shield Generator Fix

Fixes Emergency Shield Generators generating shields while not active
and while not powered.
Merge pull request #112 from yashaldie/master

Emergency Shield Generator Fix