Update localplayer.cpp