Does anyone know why:
Isn't outputting true when I have that role selected?
Code:
private bool IsRole(RoleType type)
{
for (uint i = 0; i < 4; i++)
{
Log("LFGRole: {0},{1}", i, Lua.GetReturnVal<bool>("return GetLFGRoles()", i));
}
return Lua.GetReturnVal<bool>("return GetLFGRoles()", (uint) type);
}
Isn't outputting true when I have that role selected?