Revert "dont run playerjoin hook on resynch"

This reverts commit 5f7bf4164d.
This commit is contained in:
Alug committed 2024-09-17 16:43:25 +02:00
1 parent b1644d4817
commit d867868854
1 file changed
+2 -3
+2 -3
View File
@@ -4437,10 +4437,9 @@ static void Got_AddPlayer(UINT8 **p, INT32 playernum)
D_AddAutoloadFiles();
if (!resendingsavegame[node])
LUAh_PlayerJoin(newplayernum);
LUAh_PlayerJoin(newplayernum);
if (newplayernum == consoleplayer && !resendingsavegame[node])
if (newplayernum == consoleplayer)
LUAh_ServerJoin();
#ifdef HAVE_DISCORDRPC