fixed bug in updatePlayerLinedCash method.