Undo implemented! Bug found: undo doesn't restore lifepoints