Local player indexing fix

Fixes issue #1