Fix #1374

Makes wires check whether they're actually powered before trying to shock people