fixed index error
Merge pull request #3 from Rleahy22/gameplay

fixed index error