FlaminSarge / tf2attributes

TF2Attributes SourceMod plugin
48 stars 41 forks source link

Initialize attribute value from string internally, then add it to list #48

Closed rafradek closed 1 year ago

rafradek commented 1 year ago

Initialize string attribute value inside a variable, then add the attribute with that value with SetRuntimeAttributeValue. The motivation for this change is because my mod tracks attribute changes, and it does it by hooking to various attribute altering functions. This will not work if the attribute value is written to memory directly

nosoop commented 1 year ago

Looks fine to me; thanks for the contribution! Will bump version and issue a release shortly.