Fix crash when merging socket into battleroom