Fixed problems created by double Player.cpp sync

When two files are synced at once this arises. Thats why we had problems
earlier this semester