rbxts-flamework / core

Flamework is an extensible game framework. It requires typescript and offers many useful features.
MIT License
112 stars 8 forks source link

Write to `component.attributes` before firing `onAttributeChanged` signals #98

Closed safazi closed 11 months ago

safazi commented 11 months ago

https://github.com/rbxts-flamework/components/blob/master/src/components.ts#L378

Accessing this.attributes in the onAttributeChanged connection can still have the old value.