diff --git a/network/netplay/netplay_frontend.c b/network/netplay/netplay_frontend.c index dbd017e3b5..257b9dad76 100644 --- a/network/netplay/netplay_frontend.c +++ b/network/netplay/netplay_frontend.c @@ -3576,12 +3576,9 @@ void netplay_hangup(netplay_t *netplay, size_t i; bool was_playing = false; settings_t *settings = config_get_ptr(); - /* TODO/FIXME - doesn't exist yet */ bool extra_notifications = settings->bools.notification_show_netplay_extra; - if (!netplay) - return; - if (!connection->active) + if (!netplay || !connection->active) return; was_playing =