now also not caring about teleports for bhop_ maps

This commit is contained in:
jenz
2026-10-17 14:23:32 +02:00
parent 1d265d7b1d
commit 778a2addbd
@@ -178,8 +178,8 @@ public void trigger_teleport(const char[] output, int entity_index, int client,
{ {
if (IsValidEdict(entity_index) && IsValidClient(client) && g_bHumansAllowedTime[client]) if (IsValidEdict(entity_index) && IsValidClient(client) && g_bHumansAllowedTime[client])
{ {
//if its surf maps there most likely are needed teleports //if its surf maps there most likely are needed teleports. mini requested that bhop_ maps also dont stop from teleports.
if (StrContains(g_cMapname, "surf", false) == -1) if (StrContains(g_cMapname, "surf", false) == -1 || StrContains(g_cMapname, "bhop_", false) == 0)
{ {
g_bHumansAllowedTime[client] = false; g_bHumansAllowedTime[client] = false;
ResetCurrentClientRaceZone(client); ResetCurrentClientRaceZone(client);