Skip to content

Commit

Permalink
Revert "Update sh_loadouts.nut"
Browse files Browse the repository at this point in the history
This reverts commit b9c4c9c.
  • Loading branch information
NachosChipeados committed Nov 16, 2024
1 parent 5b599f4 commit 7da554d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Northstar.CustomServers/mod/scripts/vscripts/sh_loadouts.nut
Original file line number Diff line number Diff line change
Expand Up @@ -2813,9 +2813,6 @@ string function GetParentLoadoutProperty( string loadoutType, string propertyNam

int function GetPersistentSpawnLoadoutIndex( entity player, string loadoutType )
{
if (!IsValid ( player ) )
return -1

int loadoutIndex = player.GetPersistentVarAsInt( loadoutType + "SpawnLoadout.index" )
if ( loadoutType == "titan" && loadoutIndex >= NUM_PERSISTENT_TITAN_LOADOUTS )
loadoutIndex = 0
Expand Down

0 comments on commit 7da554d

Please sign in to comment.