Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayerFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarPlayerFactory.cpp')
-rw-r--r--source/game/StarPlayerFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarPlayerFactory.cpp b/source/game/StarPlayerFactory.cpp
index f3dbf29..43854b6 100644
--- a/source/game/StarPlayerFactory.cpp
+++ b/source/game/StarPlayerFactory.cpp
@@ -60,8 +60,8 @@ PlayerPtr PlayerFactory::diskLoadPlayer(Json const& diskStore) const {
return make_shared<Player>(m_config, diskStore);
}
-PlayerPtr PlayerFactory::netLoadPlayer(ByteArray const& netStore) const {
- return make_shared<Player>(m_config, netStore);
+PlayerPtr PlayerFactory::netLoadPlayer(ByteArray const& netStore, NetCompatibilityRules rules) const {
+ return make_shared<Player>(m_config, netStore, rules);
}
}