mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Removes debug code
This commit is contained in:
Binary file not shown.
@@ -332,23 +332,13 @@ class Questlog
|
|||||||
@box = 0
|
@box = 0
|
||||||
@completed = []
|
@completed = []
|
||||||
@ongoing = []
|
@ongoing = []
|
||||||
echoln "BEFORE:"
|
|
||||||
for trainer_quest in $Trainer.quests
|
|
||||||
echoln "id: #{trainer_quest.id} completed: #{trainer_quest.completed}"
|
|
||||||
end
|
|
||||||
echoln "----------"
|
|
||||||
|
|
||||||
fix_broken_TR_quests()
|
fix_broken_TR_quests()
|
||||||
for q in $Trainer.quests
|
for q in $Trainer.quests
|
||||||
@ongoing << q if !q.completed && @ongoing.include?(q)
|
@ongoing << q if !q.completed && @ongoing.include?(q)
|
||||||
@completed << q if q.completed && @completed.include?(q)
|
@completed << q if q.completed && @completed.include?(q)
|
||||||
end
|
end
|
||||||
echoln "AFTER:"
|
|
||||||
|
|
||||||
for trainer_quest in $Trainer.quests
|
|
||||||
echoln "id: #{trainer_quest.id} completed: #{trainer_quest.completed}"
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
for q in $Trainer.quests
|
for q in $Trainer.quests
|
||||||
echoln "#{q.id}: #{q.completed}"
|
echoln "#{q.id}: #{q.completed}"
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user