Avoid playerdecks file getting corrupted