diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-07-14 23:38:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 23:38:24 +0100 |
commit | 85eb27362bd295a9e1560982a3369a688e13ded0 (patch) | |
tree | dabc0104a2f2f7d2aa501b356ee20c3951ecb444 | |
parent | a807348a28981d61d1007a74b3c065ce26bae6b8 (diff) | |
download | NorthstarMods-1.9.1-rc4.tar.gz NorthstarMods-1.9.1-rc4.zip |
call InitPersistentData on client connect to mirror vanilla behaviour and clear unwanted stuff (#424)v1.9.1-rc4v1.9.1-rc3v1.9.1
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut index 64245977..1c53167f 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut @@ -123,6 +123,8 @@ void function CodeCallback_OnClientConnectionStarted( entity player ) // playerconnected void function CodeCallback_OnClientConnectionCompleted( entity player ) { + InitPersistentData( player ) + if ( IsLobby() ) { Lobby_OnClientConnectionCompleted( player ) |