When the tank passes from AI to human player on the initial spawn it doesn't update hTankClients. The AI to human pass only calls tank_spawn and the handling of that event seems to only deal with the initial tank spawn. Spawning one tank also causes iTankCount in L4D2Util_Tanks_TankSpawn(client) to become 2. When the AI to human pass happens iTankCount will be 1 instead.
SourceMod 1.6-dev+3922
z_debug_tank_spawn 0 and z_spawn tank used to test. Setting the cvar to 0 makes z_spawn tank act like a normal director tank spawn.
When the tank passes from AI to human player on the initial spawn it doesn't update
hTankClients. The AI to human pass only callstank_spawnand the handling of that event seems to only deal with the initial tank spawn. Spawning one tank also causesiTankCountinL4D2Util_Tanks_TankSpawn(client)to become 2. When the AI to human pass happensiTankCountwill be 1 instead.SourceMod 1.6-dev+3922
z_debug_tank_spawn 0andz_spawn tankused to test. Setting the cvar to 0 makesz_spawn tankact like a normal director tank spawn.