Fix crash when a player leaves in NetPlay. The player ID was being written as int and read as PlayerId (u8).