You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lete0,e1;// two entities initialized elsewheree0.addComponent({type: 'UnitBuildQueue',key: 'q',frameAdded: 10,});e1.addComponent({type: 'UnitBuildQueue',key: 'q',frameAdded: 20,});e0.c.q.queue.push('foo');console.log(e1.c.q.queue);// THIS HAS FOO
This is fixed if I instead do this:
e0.addComponent({type: 'UnitBuildQueue',key: 'q',frameAdded: 10,queue: [],// THE FIX});
Any thoughts? Did this ever get fixed?
The text was updated successfully, but these errors were encountered:
It seems like default values of components are actually the same (Warning I'm on an old release 609c511)
I have this component:
I have this code:
This is fixed if I instead do this:
Any thoughts? Did this ever get fixed?
The text was updated successfully, but these errors were encountered: