serverjoin hook

This commit is contained in:
Alug committed 2024-11-21 18:35:50 +01:00
1 parent ca4bb191a4
commit 5e3309c216
1 file changed
+2 -2
+2 -2
View File
@@ -4302,8 +4302,8 @@ static void Got_AddPlayer(UINT8 **p, INT32 playernum)
LUA_HookInt(newplayernum, HOOK(PlayerJoin));
//if (newplayernum == consoleplayer)
//LUA_ServerJoin();
if (newplayernum == consoleplayer)
LUA_HookInt(newplayernum, HOOK(ServerJoin));
#ifdef HAVE_DISCORDRPC
DRPC_UpdatePresence();