[0.9.RC1-115-g670c9e1] Torch stays active after burning out

And it shows a debug message saying that there’s no active function every turn without the possibility of deactivating it, this after reaching 0 charges, instead of turning into a burned out torch.