Skip to content

Commit aa29973

Browse files
authored
removed cond
1 parent da0a236 commit aa29973

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

feedback2.smx

-65 Bytes
Binary file not shown.

scripting/feedback2.sp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/* Defines */
4242
#define PLUGIN_AUTHOR "PigPig"
43-
#define PLUGIN_VERSION "0.0.18c"
43+
#define PLUGIN_VERSION "0.0.18d"
4444

4545

4646
#include <sourcemod>
@@ -146,8 +146,6 @@ ArrayList SpawnPointNames;
146146
ArrayList SpawnPointEntIDs;
147147

148148
TFCond AppliedUber = TFCond:51;
149-
TFCond AppliedQuickFix = TFCond:28;
150-
TFCond AppliedPiss = TFCond:24;
151149

152150
//-1 is default
153151
int MapTimeStorage = -1;
@@ -388,17 +386,12 @@ void SetPlayerFBMode(client, bool fbmode)
388386
if(fbmode)
389387
{
390388
TF2_AddCondition(client, AppliedUber, 10000000000.0);//Add uber for a long time
391-
TF2_AddCondition(client, AppliedQuickFix, 10000000000.0);//Add quickfix for a long time
392-
TF2_AddCondition(client, AppliedPiss, 10.0);//Add piss to get rid of uber overlays
393389
SetEntProp(client, Prop_Send, "m_CollisionGroup", COLLISION_GROUP_DEBRIS_TRIGGER);//Remove collisions
394390
SetEntProp(client, Prop_Data, "m_CollisionGroup", COLLISION_GROUP_DEBRIS_TRIGGER);
395-
TF2_RemoveCondition(client,AppliedPiss);
396391
}
397392
else
398393
{
399394
TF2_RemoveCondition(client,AppliedUber);
400-
TF2_RemoveCondition(client,AppliedQuickFix);
401-
TF2_RemoveCondition(client,AppliedPiss);
402395
SetEntProp(client, Prop_Send, "m_CollisionGroup", COLLISION_GROUP_PLAYER);//Add back collisions
403396
SetEntProp(client, Prop_Data, "m_CollisionGroup", COLLISION_GROUP_PLAYER);
404397
}

0 commit comments

Comments
 (0)