aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDinorush <62536724+Dinorush@users.noreply.github.com>2022-07-10 10:41:54 -0400
committerGitHub <noreply@github.com>2022-07-10 15:41:54 +0100
commit69f60aa53356e23407ce48ad827c6d83bcf596ea (patch)
treea2a1016c5142e7071c95f2ac51332c70b5f56ee3
parent2cd82e1ec522f0cfe0d8b4e757283527a8f72ce9 (diff)
downloadNorthstarMods-69f60aa53356e23407ce48ad827c6d83bcf596ea.tar.gz
NorthstarMods-69f60aa53356e23407ce48ad827c6d83bcf596ea.zip
Fix check to set loadout to callback version (#405)
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut2
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 )