comparison Main.lua @ 37:d9333f3e0c7a

Store sharable status for quests as true rather than 1.
author James D. Callahan III <jcallahan@curse.com>
date Thu, 07 Jun 2012 16:06:57 -0500
parents 1c30568085db
children 934022ee6e52
comparison
equal deleted inserted replaced
36:1c30568085db 37:d9333f3e0c7a
905 if not is_header then 905 if not is_header then
906 _G.SelectQuestLogEntry(entry_index); 906 _G.SelectQuestLogEntry(entry_index);
907 907
908 local quest = DBEntry("quests", quest_id) 908 local quest = DBEntry("quests", quest_id)
909 quest.timer = _G.GetQuestLogTimeLeft() 909 quest.timer = _G.GetQuestLogTimeLeft()
910 quest.can_share = _G.GetQuestLogPushable() 910 quest.can_share = _G.GetQuestLogPushable() and true or nil
911 processed_quests = processed_quests + 1 911 processed_quests = processed_quests + 1
912 end 912 end
913 entry_index = entry_index + 1 913 entry_index = entry_index + 1
914 end 914 end
915 _G.SelectQuestLogEntry(selected_quest) 915 _G.SelectQuestLogEntry(selected_quest)