Skip to content

Commit

Permalink
remove revenge crits
Browse files Browse the repository at this point in the history
  • Loading branch information
minesettimi committed Feb 22, 2024
1 parent 7ec96af commit 57e2670
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Binary file modified plugins/ffweplist.smx
Binary file not shown.
7 changes: 3 additions & 4 deletions scripting/ffweplist.sp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Plugin myinfo =
name = "Fortress-Faceoffs-Weapon-Whitelist",
author = "minesettimi",
description = "Enforces weapon whitelist by removing banned weapons and giving allowed weapons",
version = "2.1.12",
version = "2.1.13",
url = "https://github.com/Fortress-Faceoffs/Fortress-Faceoffs-Weapon-Whitelist"
};

Expand Down Expand Up @@ -404,10 +404,9 @@ public Action Timer_PlayerApplication(Handle timer, int client)
isWearable = true;

TF2_RemoveWeaponSlot(client, slot);

CreateNamedItem(client, defaultWep, defaultWepClass, 15, 6, isWearable);
}


}

if (autoEquipSlot != -1) SetEntPropEnt(client, Prop_Send, "m_hActiveWeapon", GetPlayerWeaponSlot(client, autoEquipSlot));
Expand All @@ -417,7 +416,7 @@ public Action Timer_PlayerApplication(Handle timer, int client)
SetEntityHealth(client, maxHealth);

//test fix
TF2_RemoveCondition(client, TFCond_CritCola);
TF2_RemoveCondition(client, TFCond_Kritzkrieged);

//Forward loadout applied.
Call_StartForward(loadoutApplied);
Expand Down

0 comments on commit 57e2670

Please sign in to comment.