diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-09-02 17:52:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 18:52:06 +0200 |
commit | 1d95b7d5f3a4b7176456c94b147f0382de04f18e (patch) | |
tree | 1678c273b68985fe54cde59154a37a47b89bf419 /Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut | |
parent | c7e50b28fe31e20b064f812758d8a0f5e889ea74 (diff) | |
download | NorthstarMods-1d95b7d5f3a4b7176456c94b147f0382de04f18e.tar.gz NorthstarMods-1d95b7d5f3a4b7176456c94b147f0382de04f18e.zip |
Progression system (#655)
This also can't hurt right?
---------
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut b/Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut index 85f5aa05..7a7498b8 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut @@ -785,7 +785,7 @@ bool function IsSettingPrimeTitanWithoutSetFile( entity player, string loadoutTy bool function SkipItemLockedCheck( entity player, string ref, string parentRef, string loadoutProperty ) //Hack: Skip entitlement related unlock checks for now. Can fail.
{
- if ( DevEverythingUnlocked() )
+ if ( DevEverythingUnlocked( player ) )
return true
//if ( IsItemInEntitlementUnlock( ref ) && IsLobby() ) //TODO: Look into restricting this to lobby only? But entitlement checks can fail randomly...
@@ -3993,7 +3993,7 @@ bool function IsValidTitanLoadoutIndex( int loadoutIndex ) bool function HasPrimeToMatchExecutionType( entity player, int itemType )
{
- if ( DevEverythingUnlocked() )
+ if ( DevEverythingUnlocked( player ) )
return true
switch( itemType )
|