diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-01-08 02:51:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 02:51:39 +0000 |
commit | 218b251440988e5070c92a21fb593f255c53ad74 (patch) | |
tree | 5acaac7a413a3002d0b105b701ffbde0a222d05d /Northstar.CustomServers/mod | |
parent | 081120a92d299b6d1e3a8456e891a5e72b3f72a4 (diff) | |
parent | f0e833da58233c0bb6bf7aa92b8c105448d72343 (diff) | |
download | NorthstarMods-218b251440988e5070c92a21fb593f255c53ad74.tar.gz NorthstarMods-218b251440988e5070c92a21fb593f255c53ad74.zip |
Merge pull request #81 from x3Karma/patch-5
ClearLastAttacker added after respawning
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut | 3 |
1 files changed, 2 insertions, 1 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 713cd1b5..4b2e539c 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut @@ -222,6 +222,7 @@ void function CodeCallback_OnPlayerRespawned( entity player ) player.SetPredictionEnabled( true ) Loadouts_TryGivePilotLoadout( player ) SetHumanRagdollImpactTable( player ) + ClearLastAttacker( player ) // so dying to anything doesn't credit the same attacker after respawning foreach ( entity weapon in player.GetMainWeapons() ) weapon.SetProScreenOwner( player ) @@ -633,4 +634,4 @@ float function GetTitanBuildTime(entity player) void function TitanPlayerHotDropsIntoLevel( entity player ) { -}
\ No newline at end of file +} |