fatcoder
Member
|
linkReferences() being called twice
I've noticed that when loading a game, linkReferences() is being called twice on every object. I'm just wondering if that is normal behaviour from EE or if my code might be causing it to call twice. Is EE supposed to call linkReferences() twice on each object?
|
|
04-20-2013 01:05 PM |
|
fatcoder
Member
|
RE: linkReferences() being called twice
I just tested this in the Object References tutorial and it is calling linkReferences() twice on the character object when loading. The first call works fine, i.e. links the desired_item correctly, so the second call just seems to be redundant.
Is this a bug in EE?
|
|
04-22-2013 01:48 AM |
|
Esenthel
Administrator
|
RE: linkReferences() being called twice
Hello,
That's normal behavior, the method can be called multiple times at initialization and later during the game in case new objects got loaded.
|
|
04-25-2013 12:50 PM |
|