changeset 31:f99b9602bdab

Removed code introduced last night that can cause ItemAuditor to crash.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Fri, 16 Jul 2010 06:52:08 -0700
parents d1df322a512f
children e6ddeb9f9994
files CHANGELOG.txt Core.lua
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.txt	Fri Jul 16 01:36:50 2010 -0700
+++ b/CHANGELOG.txt	Fri Jul 16 06:52:08 2010 -0700
@@ -1,6 +1,7 @@
 2010-07-16  Asa Ayers  <Asa.Ayers@Gmail.com>
 
 - Added an interface to be able to view what you have invested in. I still need to build a way to modify this information,
+- Bug fix
 
 2010-07-14  Asa Ayers  <Asa.Ayers@Gmail.com>
 
--- a/Core.lua	Fri Jul 16 01:36:50 2010 -0700
+++ b/Core.lua	Fri Jul 16 06:52:08 2010 -0700
@@ -232,12 +232,6 @@
 		
 	end
 	
-	if self.items[link] ~= nil then
-		if self.items[link].invested  == nil or self.items[link].invested <= 0 then
-			self.items[link] = nil
-		end
-	end
-	
 	if viewOnly == true and self.items[link] == nil then
 		return {count = 0, invested = 0}
 	elseif viewOnly == true then