mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-07 17:37:50 -05:00
Fixed syntax error preventing compilation of patch_mp/maps/mp/gametypes/_globallogic.gsc.
This commit is contained in:
parent
9c9a729150
commit
007237c544
@ -2111,8 +2111,10 @@ updatePlacement() //checked matches bo3 _globallogic.gsc within reason
|
|||||||
{
|
{
|
||||||
player = placementAll[ i ];
|
player = placementAll[ i ];
|
||||||
playerScore = player.score;
|
playerScore = player.score;
|
||||||
for ( j = i - 1; j >= 0 && playerScore > placementAll[j].score || playerScore == placementAll[j].score && player.deaths < placementAll[j].deaths; j-- )
|
for ( j = i - 1; j >= 0 && playerScore > placementAll[j].score || playerScore == placementAll[j].score && player.deaths < placementAll[j].deaths ; j-- )
|
||||||
|
{
|
||||||
placementAll[ j + 1 ] = placementAll[ j ];
|
placementAll[ j + 1 ] = placementAll[ j ];
|
||||||
|
}
|
||||||
placementAll[ j + 1 ] = player;
|
placementAll[ j + 1 ] = player;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2122,7 +2124,7 @@ updatePlacement() //checked matches bo3 _globallogic.gsc within reason
|
|||||||
{
|
{
|
||||||
player = placementall[i];
|
player = placementall[i];
|
||||||
playerscore = player.pointstowin;
|
playerscore = player.pointstowin;
|
||||||
for(j = i - 1; j >= 0 && (playerscore > placementall[j].pointstowin || (playerscore == placementall[j].pointstowin && player.deaths < placementall[j].deaths)); j--)
|
for(j = i - 1; j >= 0 && playerscore > placementall[j].pointstowin || playerscore == placementall[j].pointstowin && player.deaths < placementall[j].deaths; j--)
|
||||||
{
|
{
|
||||||
placementall[j + 1] = placementall[j];
|
placementall[j + 1] = placementall[j];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user