Multiple game module files being created for some reason and causing errors, not sure if this is normal

hi, thanks for the reply
the function is defined in a header file as part of a namespace, maybe there’s something i’m missing about namespace usage?

i’ve almost never used them before tbh so if that’s the problem then they’re not as simple as i thought. what confuses me is that it’s been like this during months of constant work and only now given me this issue

edit: just after sending this i realised the function should be static so i changed it and now it compiles…