Browse Source

new players do now spawn above ground

Kolja Strohm 2 months ago
parent
commit
11c3684753
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FactoryCraft/Game.cpp

+ 1 - 1
FactoryCraft/Game.cpp

@@ -1093,7 +1093,7 @@ GameClient* Game::addPlayer(FCKlient* client, Framework::Text name)
                              --h},
                 player->getDimensionId());
         player->setPosition(
-            {player->getPosition().x, player->getPosition().y, (float)h + 1.f});
+            {player->getPosition().x, player->getPosition().y, (float)h + 2.f});
     }
     requestWorldUpdate(new AddEntityUpdate(player, player->getDimensionId()));
     chat->addObserver(gameClient->zEntity()->getId());