It would be interesting to find out why battle_->first_ is nullptr, and if that's a bug. I think for now checking for nullptr should at least prevent the segfault.
It would be interesting to find out why battle_->first_ is nullptr, and if that's a bug. I think for now checking for nullptr should at least prevent the segfault.