Skip to content

Commit b0167a0

Browse files
committed
refresh UI after world is loaded
1 parent 9607288 commit b0167a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎game/mainwindow.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,9 @@ void MainWindow::onWorldLoaded() {
11521152

11531153
renderer.onWorldChanged();
11541154

1155+
if(auto pl = Gothic::inst().player())
1156+
rootMenu.setPlayer(*pl);
1157+
11551158
if(auto pl = Gothic::inst().player())
11561159
pl->multSpeed(1.f);
11571160
lastTick = Application::tickCount();

0 commit comments

Comments
 (0)