Oops.. fixed

This commit is contained in:
Daniel 2015-03-23 14:21:12 +02:00
parent db0e37d784
commit 4aff992837
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)