Update GardenGlobals.py
This commit is contained in:
parent
7c5c599345
commit
7fc08602b5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue