Ask coding questions

← Back to all posts
minecraftmake55 (5)

how do i have a code read the class and not the list.

a5rocks (808)

Basically, you want the index for Propertys to wrap around? Well, there's this handy way to do that: instead of Propertys[player1.placement].Name on line 117, try Propertys[player1.placement%len(Propertys)].Name.