dont run playerjoin hook on resynch
This commit is contained in:
1 parent
ab47582f8a
commit
2923020273
1 file changed
+3
-2
+3
-2
@@ -4319,9 +4319,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