Fixes the NPE in cardPlayed