EEEEEEEH BO DEREK, EH
This commit is contained in:
@@ -200,7 +200,7 @@ void Server::Run() {
|
||||
for (auto& [key, conn] : m_players) { // Creation des instances de joueurs et premier sync.
|
||||
conn->player = std::make_unique<Player>(Vector3f(.5f, CHUNK_SIZE_Y + 1.8f, .5f));
|
||||
Sync sync;
|
||||
sync.position = conn->player->GetPosition();
|
||||
sync.position = conn->player->GetPositionAbs();
|
||||
sync.hp = conn->player->GetHP();
|
||||
sync.sid = key;
|
||||
sync.ammo = 0;
|
||||
|
Reference in New Issue
Block a user