Fix rpcn config reset

This commit is contained in:
RipleyTom 2023-05-06 18:33:55 +02:00 committed by Megamouse
parent 5c0113ce59
commit 195de818b6

View File

@ -677,6 +677,7 @@ namespace np
if (g_cfg.net.psn_status >= np_psn_status::psn_fake)
{
g_cfg_rpcn.load(); // Ensures config is loaded even if rpcn is not running for simulated
std::string s_npid = g_cfg_rpcn.get_npid();
ensure(!s_npid.empty()); // It should have been generated before this