fix: online crash (#518)

This commit is contained in:
Yimura
2022-10-25 22:21:36 +02:00
committed by GitHub
parent 858776370b
commit e4ea624e79
2 changed files with 2 additions and 5 deletions
+1 -4
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>