Fixed LAN crash on discard.