EEEEEEEH BO DEREK, EH

This commit is contained in:
MarcEricMartel
2023-11-27 14:24:11 -05:00
parent b6d5975648
commit 702a65c5b0
3 changed files with 5 additions and 3 deletions

View File

@@ -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;