Update GardenGlobals.py

This commit is contained in:
John Cote 2019-12-31 14:13:04 -05:00
parent 7c5c599345
commit 7fc08602b5

View file

@ -298,7 +298,7 @@ if ACCELERATOR_USED_FROM_SHTIKER_BOOK:
del PlantAttributes[202]
def getTreeTrackAndLevel(typeIndex):
track = int(typeIndex / 7)
track = typeIndex // 7
level = typeIndex % 7
return (track, level)