03-30-2014, 05:33 AM
I have a feeling that we don't have all the code because it says the error is on line 46 but it stops at 42, and since I have no idea how many lines the Initialize function has I have no idea where the error is. Also you can use the OnWorldTick(a_World, a_TimeDelta) instead of a ForEachWorld callback in each tick.