]> git.localhorst.tv Git - blank.git/commitdiff
update player after load from save
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 10 Dec 2015 12:22:58 +0000 (13:22 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 10 Dec 2015 12:22:58 +0000 (13:22 +0100)
this moves the chunk index to the correct base for preloading

src/io/WorldSave.cpp

index d483c915939407426fbab0d4a7c70387a9a11bce..ce7c71d35ea55c19d85b85b56b0a3f7d8e83db01 100644 (file)
@@ -144,6 +144,7 @@ void WorldSave::Read(Player &player) const {
                }
        }
        player.GetEntity().SetState(state);
+       player.Update(0);
 }
 
 void WorldSave::Write(const Player &player) const {