serverjoin hook
This commit is contained in:
1 parent
ca4bb191a4
commit
5e3309c216
1 file changed
+2
-2
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user