Skip to content

Commit

Permalink
Remove never-implemented BFB weapon balancing method
Browse files Browse the repository at this point in the history
It was supposed to constantly drain the BFB meter, but that obviously didn't happen...
  • Loading branch information
50Wliu committed Feb 15, 2015
1 parent 8123a8b commit 4fe6961
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions addons/sourcemod/scripting/freak_fortress_2.sp
Expand Up @@ -185,7 +185,6 @@ new tf_arena_use_queue;
new mp_teams_unbalance_limit;
new tf_arena_first_blood;
new mp_forcecamera;
new Float:tf_scout_hype_pep_max;
new Handle:cvarNextmap;
new bool:areSubPluginsEnabled;

Expand Down Expand Up @@ -1174,8 +1173,6 @@ public OnConfigsExecuted()
mp_teams_unbalance_limit=GetConVarInt(FindConVar("mp_teams_unbalance_limit"));
tf_arena_first_blood=GetConVarInt(FindConVar("tf_arena_first_blood"));
mp_forcecamera=GetConVarInt(FindConVar("mp_forcecamera"));
tf_scout_hype_pep_max=GetConVarFloat(FindConVar("tf_scout_hype_pep_max"));
Debug("OnConfigsExecuted: tf_scout_hype_pep_max is at %f", tf_scout_hype_pep_max);

if(IsFF2Map() && GetConVarBool(cvarEnabled))
{
Expand Down Expand Up @@ -1226,8 +1223,6 @@ public OnMapEnd()
SetConVarInt(FindConVar("mp_teams_unbalance_limit"), mp_teams_unbalance_limit);
SetConVarInt(FindConVar("tf_arena_first_blood"), tf_arena_first_blood);
SetConVarInt(FindConVar("mp_forcecamera"), mp_forcecamera);
SetConVarFloat(FindConVar("tf_scout_hype_pep_max"), tf_scout_hype_pep_max);
Debug("OnMapEnd: tf_scout_hype_pep_max is %f", tf_scout_hype_pep_max);
#if defined _steamtools_included
if(steamtools)
{
Expand Down Expand Up @@ -1296,7 +1291,6 @@ public EnableFF2()
SetConVarInt(FindConVar("mp_teams_unbalance_limit"), 0);
SetConVarInt(FindConVar("tf_arena_first_blood"), 0);
SetConVarInt(FindConVar("mp_forcecamera"), 0);
SetConVarFloat(FindConVar("tf_scout_hype_pep_max"), 100.0);

new Float:time=Announce;
if(time>1.0)
Expand Down Expand Up @@ -1341,8 +1335,6 @@ public DisableFF2()
SetConVarInt(FindConVar("mp_teams_unbalance_limit"), mp_teams_unbalance_limit);
SetConVarInt(FindConVar("tf_arena_first_blood"), tf_arena_first_blood);
SetConVarInt(FindConVar("mp_forcecamera"), mp_forcecamera);
SetConVarFloat(FindConVar("tf_scout_hype_pep_max"), tf_scout_hype_pep_max);
Debug("DisableFF2: tf_scout_hype_pep_max is %f", tf_scout_hype_pep_max);

if(doorCheckTimer!=INVALID_HANDLE)
{
Expand Down

0 comments on commit 4fe6961

Please sign in to comment.