Skip to content

projectile upgrades buildings attribute doesn't work on rescue ranger #81

@higps

Description

@higps

Initial troubleshooting checklist

  • [x ] The attribute is loaded, or this bug report is about a plugin load failure. (Check sm plugins list on the server.)
  • [x ] The attribute is the most recent revision.

Describe the bug
When setting the attribute:
TF2CustAttr_SetString(Weapon1, "projectile upgrades buildings", "50");
Shooting my own buildings does nothing to upgrade them when I have metal.

To Reproduce
Add the attribute to any projectile weapon and shoot unupgraded buildings with the projectile.

Expected behavior
The building to be upgraded.

Server environment (please complete the following information):

  • Operating System: [Linux Ubuntu 18.04)
  • SourceMod version: [SourceMod 1.11.0.6927]

Additional context
I tested this with Pomson as well as on friendly buildings
No errors are thrown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions