Skip to content

hTankClients not being updated on AI to Human tank pass #4

@MatthewClair

Description

@MatthewClair

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions