From df4449730b30b83fc4b11311277015dddeedf6f4 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 12 Apr 2010 04:00:02 -0400 Subject: [PATCH] In Player:HasProperRepLevel() - fixed logic to return the correct values for reputations which aren't stored. --- Player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player.lua b/Player.lua index 84121de..b02ae6d 100644 --- a/Player.lua +++ b/Player.lua @@ -107,7 +107,7 @@ function Player:HasProperRepLevel(rep_data) end local rep_name = private.reputation_list[rep_id].name - if player_rep[rep_name] and player_rep[rep_name] < rep_level then + if not player_rep[rep_name] or player_rep[rep_name] < rep_level then has_faction = false else has_faction = true -- 1.7.9.5