move a conditional up to a level to fix a bug with directives working even if charge is zero
move a conditional up to a level to fix a bug with directives working even if charge is zero

kiba/Factorio-MagneticFloor,kiba/Factorio-MagneticFloor