fix: online crash (#518)

This commit is contained in:
Yimura
2022-10-25 22:21:36 +02:00
committed by GitHub
parent 736b52d404
commit 6ce0ccbaaf
2 changed files with 2 additions and 5 deletions

View File

@ -37,10 +37,7 @@ namespace big::gta_util
inline Network* get_network()
{
__int64 network = (__int64)(*g_pointers->m_network);
if (g_is_steam)
network += sizeof(rage::rlSessionInfo);
return (Network*)network;
return *g_pointers->m_network;
}
template <typename F, typename ...Args>