diff options
author | Dinorush <62536724+Dinorush@users.noreply.github.com> | 2022-07-10 10:41:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-10 15:41:54 +0100 |
commit | 69f60aa53356e23407ce48ad827c6d83bcf596ea (patch) | |
tree | a2a1016c5142e7071c95f2ac51332c70b5f56ee3 /Northstar.CustomServers | |
parent | 2cd82e1ec522f0cfe0d8b4e757283527a8f72ce9 (diff) | |
download | NorthstarMods-69f60aa53356e23407ce48ad827c6d83bcf596ea.tar.gz NorthstarMods-69f60aa53356e23407ce48ad827c6d83bcf596ea.zip |
Fix check to set loadout to callback version (#405)
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut index 5359eac9..3e8ac9ea 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut @@ -100,7 +100,7 @@ TitanLoadoutDef function GetTitanLoadoutForPlayer( entity player ) // whether the callback has changed the player's titan loadout wasChanged = wasChanged || callbackRet.wasChanged - if ( wasChanged ) + if ( callbackRet.wasChanged ) loadout = callbackRet.loadout // whether the callback has indicated that we should run no more callbacks ( e.g. if we're forcing a given loadout to be chosen, we shouldn't run any more ) |