diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-05 19:15:47 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-11 15:19:17 +1000 |
commit | 37f3178d33ab77de064bcbf10b4b03ddb47cc979 (patch) | |
tree | 76e3b3ce2d8716577af98e2bbbc4a41021db5107 /source/game/StarPlayerFactory.cpp | |
parent | 90db1e0fbadaeb625691d3d0d13f5ae6ef057109 (diff) |
Network compatibility changes
Diffstat (limited to 'source/game/StarPlayerFactory.cpp')
-rw-r--r-- | source/game/StarPlayerFactory.cpp | 4 |
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); } } |