mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix: player name 3d text not updating by Decorator
This commit is contained in:
parent
a9d185256a
commit
33db2633a2
5 changed files with 23 additions and 20 deletions
|
|
@ -79,7 +79,7 @@ Player* Players::create(int64_t id) {
|
|||
auto playerPtr = std::make_unique<Player>(
|
||||
level,
|
||||
id,
|
||||
"",
|
||||
L"",
|
||||
glm::vec3(0, DEF_PLAYER_Y, 0),
|
||||
DEF_PLAYER_SPEED,
|
||||
level.inventories->create(DEF_PLAYER_INVENTORY_SIZE),
|
||||
|
|
@ -134,7 +134,7 @@ void Players::deserialize(const dv::value& src) {
|
|||
auto playerPtr = std::make_unique<Player>(
|
||||
level,
|
||||
0,
|
||||
"",
|
||||
L"",
|
||||
glm::vec3(0, DEF_PLAYER_Y, 0),
|
||||
DEF_PLAYER_SPEED,
|
||||
level.inventories->create(DEF_PLAYER_INVENTORY_SIZE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue