This is kind of funny.
I used to have a block of LUA that I called through DoString and whose return value I read through GetLocalizedText.
The code is this:
Now, I have moved on to ditching all the GetLocalizedText stuff and I'm using my own LUA input handler to read all the return values. I have changed it to be:Code:SetMapToCurrentZone(); local continent = GetCurrentMapContinent();
Considering I tested this with a toon in Northshire, the old code always returned 2 as I expected (2 being Azeroth) while the new code is returning 0.Code:SetMapToCurrentZone(); InputHandler(GetCurrentMapContinent());
Any idea why it's behaving differently now?