Fix FTT OnAntiRush error

This commit is contained in:
Jackz 2022-07-18 18:14:23 -05:00
parent b8e2135d42
commit 42b0884b99
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -888,7 +888,7 @@ public Action OnAntiRush(int client, int &type, float distance) {
SpecialType special = view_as<SpecialType>(GetRandomInt(1,6));
iLastAntiRushEvent[client] = GetGameTime();
SpawnSpecialForTarget(special, client);
PrintToConsoleAll("[FTT] Spawning anti-rush special on %N (dist=%f) (special=%N)", client, distance, SPECIAL_NAMES[view_as<int>(special)-1]);
PrintToConsoleAll("[FTT] Spawning anti-rush special on %N (dist=%f) (special=%s)", client, distance, SPECIAL_NAMES[view_as<int>(special)-1]);
}
}
return Plugin_Continue;