Skip to content

Commit

Permalink
Fix case of SCP win when only captured has escaped (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
FortyTwoFortyTwo authored Jun 17, 2024
1 parent ee60fb8 commit 4473048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/scp_sf/gamemode.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ public bool Gamemode_ConditionVip(TFTeam &team)
team = TFTeam_Blue;
group = 2;
}
else if(salive && !sescape) // SCP alive and none escaped
else if(salive && !sescape && !scapture) // SCP alive and none escaped/captured
{
team = TFTeam_Red;
group = 3;
Expand Down

0 comments on commit 4473048

Please sign in to comment.