PropSpawner: Set prop team to CT for it to work with filtered triggers

This commit is contained in:
Irineu
2026-09-12 16:10:23 -03:00
parent 53828e527d
commit 9f711b0f71
+1
View File
@@ -723,6 +723,7 @@ void prop_any_create(int client)
if (g_cvNotifyShot.BoolValue)
{
SetEntityFlags(prop, FL_CLIENT); //Now youre thinking with portals
SetEntProp(prop, Prop_Data, "m_iTeamNum", CS_TEAM_CT); // So it works with filtered triggers
SDKHook(prop, SDKHook_OnTakeDamage, OnPropTakeDamage);
g_aSpawnedProps.Push(prop);
}