mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
fix
This commit is contained in:
parent
7027bd6f28
commit
97a4741a73
2 changed files with 1 additions and 2 deletions
|
|
@ -18,7 +18,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
class Level;
|
|
||||||
class Screen;
|
class Screen;
|
||||||
class EnginePaths;
|
class EnginePaths;
|
||||||
class ResPaths;
|
class ResPaths;
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ dv::value Players::serialize() const {
|
||||||
for (const auto& [id, player] : players) {
|
for (const auto& [id, player] : players) {
|
||||||
list.add(player->serialize());
|
list.add(player->serialize());
|
||||||
}
|
}
|
||||||
return list;
|
return root;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Players::deserialize(const dv::value& src) {
|
void Players::deserialize(const dv::value& src) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue