mirror of
https://github.com/minetest/minetest.git
synced 2025-07-05 01:10:22 +02:00
Simplify player modification checks
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user