1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Simplify player modification checks

This commit is contained in:
ShadowNinja 2014-08-03 16:19:07 -04:00
parent b37bff72f1
commit cd0df0d5e7
7 changed files with 30 additions and 48 deletions

View file

@ -270,9 +270,7 @@ Client::Client(
Add local player
*/
{
Player *player = new LocalPlayer(this);
player->updateName(playername);
Player *player = new LocalPlayer(this, playername);
m_env.addPlayer(player);
}