(Netplay) Fix dummy notification

No longer shows a netplay initialization failed notification when netplay is not enabled.
This commit is contained in:
Cthulhu-throwaway 2022-01-12 21:28:50 -03:00 committed by m4xw
parent 4331065cc0
commit 0c0d19e3f1
1 changed files with 1 additions and 1 deletions

View File

@ -8330,7 +8330,7 @@ bool init_netplay(const char *server, unsigned port, const char *mitm_session)
const char *mitm = NULL;
if (!net_st->netplay_enabled)
goto failure;
return false;
core_set_default_callbacks(&cbs);
if (!core_set_netplay_callbacks())