Feeeeeed the woooooooooorld
This commit is contained in:
parent
b54f8c31e5
commit
4f64be7e0a
@ -182,7 +182,7 @@ void Server::Run() {
|
|||||||
|
|
||||||
m_world = std::make_unique<World>();
|
m_world = std::make_unique<World>();
|
||||||
m_world->SetSeed(m_game.seed);
|
m_world->SetSeed(m_game.seed);
|
||||||
m_world->BuildWorld();
|
//m_world->BuildWorld();
|
||||||
|
|
||||||
for (auto& [key, conn] : m_players) { // Creation des instances de joueurs et premier sync.
|
for (auto& [key, conn] : m_players) { // Creation des instances de joueurs et premier sync.
|
||||||
conn->player = std::make_unique<Player>(Vector3f(8.5f, CHUNK_SIZE_Y + 1.8f, 8.5f));
|
conn->player = std::make_unique<Player>(Vector3f(8.5f, CHUNK_SIZE_Y + 1.8f, 8.5f));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user