dont run playerjoin hook on resynch
This commit is contained in:
1 parent
43690c9b2c
commit
5f7bf4164d
1 file changed
+3
-2
+3
-2
@@ -4437,9 +4437,10 @@ static void Got_AddPlayer(UINT8 **p, INT32 playernum)
|
||||
|
||||
D_AddAutoloadFiles();
|
||||
|
||||
LUAh_PlayerJoin(newplayernum);
|
||||
if (!resendingsavegame[node])
|
||||
LUAh_PlayerJoin(newplayernum);
|
||||
|
||||
if (newplayernum == consoleplayer)
|
||||
if (newplayernum == consoleplayer && !resendingsavegame[node])
|
||||
LUAh_ServerJoin();
|
||||
|
||||
#ifdef HAVE_DISCORDRPC
|
||||
|
||||
Reference in new issue
Block a user