Open andrew171717 opened 2 years ago
I attempted to change line 861 in YoYo_FunctionsM.cpp:
from YYCreateString(&Result, user->ModernGamertag);
to YYCreateString(&Result, user->DisplayName);
and I now receive the display name that I expected to see. I'm not sure what ModernGamertag
is supposed to return as I didn't really look into the code, but I wanted to share my results nonetheless.
Thanks for the fix, I'm not sure what the difference is as the GDK docs refer to the modern gamertag as a DisplayName
Testing code:
show_message returns:![image](https://user-images.githubusercontent.com/25375491/181387935-fcf2f80b-506a-4032-98ba-1d384f3afb64.png)