fixed infect and human command

This commit is contained in:
jenz 2024-01-31 21:05:50 +01:00
parent 620e5e9ccc
commit cd24db9f53

View File

@ -444,9 +444,11 @@ public void findTarget(int client, int state)
{ {
PrintToChat(client, "Humanized: %N", targets[0]); PrintToChat(client, "Humanized: %N", targets[0]);
SelectWavebasedHuman(targets[0]); SelectWavebasedHuman(targets[0]);
g_iClientRespawnCount[client] = g_iClientRespawnCountNum;
} }
else else
{ {
g_iClientRespawnCount[client] = 0;
PrintToChat(client, "Infected: %N", targets[0]); PrintToChat(client, "Infected: %N", targets[0]);
SelectWaveBasedZM(targets[0], 1); SelectWaveBasedZM(targets[0], 1);
} }