View Single Post
10-13-10, 12:49 PM   #56
neverg
A Frostmaul Preserver
 
neverg's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 268
Meh, I'm going crazy porting to 1.5.

I'm getting "attempt to index global 'oUF' (a nil value)"...

Before it worked fine, on 1.4. Any clues?

It returns that error on this:

Code:
	oUF.colors.power = {
		["MANA"] = {26/255, 139/255, 255/255 },
		["RAGE"] = {255/255, 26/255, 48/255 },
		["FOCUS"] = {255/255, 150/255, 26/255 },
		["ENERGY"] = {255/255, 225/255, 26/255 },
		["HAPPINESS"] = {0.00, 1.00, 1.00 },
		["RUNES"] = {0.50, 0.50, 0.50 },
		["RUNIC_POWER"] = {0.00, 0.82, 1.00 },
		["AMMOSLOT"] = {0.80, 0.60, 0.00 },
		["FUEL"] = {0.0, 0.55, 0.5 },
	}
It can be on any oUF call tho.

I use namespaces for a config file, I use
Code:
this:

	local addon, ns = ...
	local cfg = ns.cfg
	local oUF = ns.oUF or oUF
But even if I remove it, it doesn't make a difference, and anyway, why should I? I'm confused. :S
__________________
My oUF Layout: oUF Lumen
  Reply With Quote