diff options
author | Cyn <70904206+itscynxx@users.noreply.github.com> | 2024-03-26 07:52:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 13:52:16 +0100 |
commit | a8c0653b25616a4b3b5cf224ae7eddc856fad7cc (patch) | |
tree | d0ee9f210cc3c09b51a84f60562aab0e3e3c15bf /Northstar.CustomServers/mod/scripts/vscripts/mp | |
parent | 51eb5eade9aedd69b64a293e95c008a8a8d1f908 (diff) | |
download | NorthstarMods-a8c0653b25616a4b3b5cf224ae7eddc856fad7cc.tar.gz NorthstarMods-a8c0653b25616a4b3b5cf224ae7eddc856fad7cc.zip |
Fix weapon drop callback breaking SP (#797)v1.25.0-rc1
Move weapon drop callback globalization to `#if MP`
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_codecallbacks.gnut | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_codecallbacks.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_codecallbacks.gnut index 8644296e..0d1b42b7 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_codecallbacks.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_codecallbacks.gnut @@ -18,11 +18,11 @@ global function CodeCallback_OnProjectileGrappled global function DamageInfo_ScaleDamage global function CodeCallback_CheckPassThroughAddsMods global function SetTitanMeterGainScale -global function CodeCallback_WeaponDropped -global function AddCallback_OnWeaponDropped #if MP global function CodeCallback_OnServerAnimEvent +global function CodeCallback_WeaponDropped +global function AddCallback_OnWeaponDropped #endif struct AccumulatedDamageData |