because you have two different references. Elf and Combat. So now Combat isn’t valid.
again this is only on the first frame so it kinda isn’t a problem, still its good practice to handle the initialization of your objects properly.
because you have two different references. Elf and Combat. So now Combat isn’t valid.
again this is only on the first frame so it kinda isn’t a problem, still its good practice to handle the initialization of your objects properly.