hide undo button when a player has no units to retreat