diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 23:46:52 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 23:46:52 +0100 |
commit | 27bd240871b7c0f2f49fef137718b2e3c208e3b4 (patch) | |
tree | a46f401fa389edbb42a32fe8674cbde3a28e7632 /Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut | |
parent | 1c1d36fad84687a93a629525145c557f78cbf673 (diff) | |
download | NorthstarMods-27bd240871b7c0f2f49fef137718b2e3c208e3b4.tar.gz NorthstarMods-27bd240871b7c0f2f49fef137718b2e3c208e3b4.zip |
ctf switchsides spawn fix (untested)
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut')
-rw-r--r-- | Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut b/Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut index 2a6eb5a8..2b7b90b3 100644 --- a/Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut +++ b/Northstar.CustomServers/scripts/vscripts/_loadouts_mp.gnut @@ -54,7 +54,7 @@ void function SetWeaponDropsEnabled( bool enabled ) void function DestroyDroppedWeapon( entity victim, entity attacker, var damageInfo ) { - if ( !file.weaponDropsEnabled ) + if ( !file.weaponDropsEnabled && IsValid( victim.GetActiveWeapon() ) ) victim.GetActiveWeapon().Destroy() } |