From 4aff992837496f998846cf34a248757b70a5fcfb Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 23 Mar 2015 14:21:12 +0200 Subject: [PATCH] Oops.. fixed --- toontown/quest/QuestParser.py | 2 +- toontown/tutorial/TutorialManagerAI.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/toontown/quest/QuestParser.py b/toontown/quest/QuestParser.py index 7d53d83e..e9d3d66d 100644 --- a/toontown/quest/QuestParser.py +++ b/toontown/quest/QuestParser.py @@ -1009,7 +1009,7 @@ class NPCMoviePlayer(DirectObject.DirectObject): curGagLevel = newGagLevel access = [0, 0, 0, 0, 0, 0] - for i in len(access): + for i in xrange(len(access)): if oldTrackAccess[i] == 1: access[i] = newGagLevel diff --git a/toontown/tutorial/TutorialManagerAI.py b/toontown/tutorial/TutorialManagerAI.py index 29c6b1d5..b3f9fa04 100644 --- a/toontown/tutorial/TutorialManagerAI.py +++ b/toontown/tutorial/TutorialManagerAI.py @@ -168,7 +168,7 @@ class TutorialManagerAI(DistributedObjectAI): av.inventory.zeroInv(killUber=True) access = av.getTrackAccess() - for i in len(access): + for i in xrange(len(access)): if access[i] == 1: av.inventory.addItem(i, 1)