Fixed re-sorting when adding a new book.

Jayden Platell [04-10-14 - 22:59]
Fixed re-sorting when adding a new book.
Filename
Librarian.lua
diff --git a/Librarian.lua b/Librarian.lua
index 5a950bc..4b354c8 100644
--- a/Librarian.lua
+++ b/Librarian.lua
@@ -94,8 +94,7 @@ end
 function Librarian:AddBook(title, body, medium, showTitle)
 	local book = {title = title, body = body, medium = medium, showTitle = showTitle, timeStamp = GetTimeStamp(), unread = true}
 	table.insert(self.savedVars.books, book)
-	local i = #self.savedVars.books
-	self:LayoutBook(i, book)
+	self:SortBooks()
 	d("New book added!")
 end