aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-14 02:20:10 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-14 02:20:10 +0000
commit1b6e5af70bf442c684b891003e516329b190c130 (patch)
treeb8df2155f13ac612bfa45bfadf783b3789f117cb /Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut
parent4eaace462efe15328fcc171f2c7f85ff29a9e821 (diff)
downloadNorthstarMods-1b6e5af70bf442c684b891003e516329b190c130.tar.gz
NorthstarMods-1b6e5af70bf442c684b891003e516329b190c130.zip
various fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut
index f495e587..8e100257 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/weapon_xp.gnut
@@ -20,7 +20,7 @@ void function AddWeaponXP( entity player, int amount )
player.SetPersistentVar( GetItemPersistenceStruct( weaponClassname ) + ".proScreenKills", WeaponGetProScreenKills( player, weaponClassname ) + amount )
// not currently used rn, but adding a script var so scripts can handle proscreen values manually if wanted
- if ( "manualProscreenControl" in activeWeapon.s && activeWeapon.s.manualProscreenControl )
+ if ( !( "manualProscreenControl" in activeWeapon.s && activeWeapon.s.manualProscreenControl ) )
activeWeapon.SetProScreenIntValForIndex( 0, WeaponGetProScreenKills( player, weaponClassname ) )
}
} \ No newline at end of file