I am getting a really strange indexing a nil value error that I cannot figure out how to solve for the life of me. Here's the code:
local COLONYNUMBER = players[0].getColony()
print(COLONYNUMBER) <--- prints 0
print(colonies[0].getName()) <---- prints New Brussels
print(colonies[COLONYNUMBER].getName()) <---- ERROR HERE
0or a string"0"inCOLONYNUMBER? - Etan Reisner