View Single Post
10-14-20, 04:42 PM   #10
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Originally Posted by Fizzlemizz View Post
Tied myself up overthinking with the first example code use of passing in a string.

/run print(FriendsFont_Large.SetFont) works in-game.

That code works from so long ago.
It was taken from "Tectiles" by tekkub and I never changed so much ...

It is strange but using the _G fixes the code. Why it works in game and not in my addon is a mistery.
But today I am no longer surprised by anything

Thanks again Fizzlemizz
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote