Skip to content

Commit

Permalink
Do not load empty aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
peterekepeter committed Oct 20, 2024
1 parent bbdf75c commit 3a88f74
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions MVES/Classes/MapVote.uc
Original file line number Diff line number Diff line change
Expand Up @@ -1711,14 +1711,13 @@ final function ResetCurrentGametypeBeforeTravel()

final function LoadAliases()
{
local int i, j;
local string error;
local int i;

AliasesLogic = new class'MV_Aliases'();
for ( i = 0 ; i < 32 ; i ++ )
{
AliasesLogic.AddAliasLine(Aliases[i]);
}

for ( i = 0 ; i < 32 ; i++ )
if ( Aliases[i] != "" )
AliasesLogic.AddAliasLine(Aliases[i]);
}

//***************************************
Expand Down

0 comments on commit 3a88f74

Please sign in to comment.