First off, yaymounts is awesome. But after moddi it very slightly to allow flying in Legion:

--Check if we're in Broken Isles for flying
if GetCurrentMapContinent() == 8 then
isFlyable = true
end


it now summons flying mounts on Argus, which I want to avoid. So I've added:

self:Print(zone)
if (zone == "Krokuun") then
isFlyable = false
end


which for some reason doesn't work. I know zone is set, although that Print doesn't work for some reason, I added a Print to the reload and can confirm that text is set there, at least.

I'm honestly baffled and this is my first foray into lua though i program professionally. Seems like a really basic change. No error is reported either.

- - - Updated - - -

Ugh user error, had Force Flying Mounts selected for the toon in question. Ugh ugh ugh.