Skip to content

Commit adb1ff1

Browse files
committed
Renamed newMapView to newMapViewState
1 parent 430821a commit adb1ff1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appOPHD/States/GameState.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ void GameState::onLoadGame(const std::string& saveGameName)
164164
{
165165
throw std::runtime_error("Save game file does not exist: " + saveGamePath);
166166
}
167-
auto newMapView = std::make_unique<MapViewState>(*mMainReportsState.get(), saveGamePath);
168-
newMapView->initialize();
169-
mNewMapViewState = std::move(newMapView);
167+
auto newMapViewState = std::make_unique<MapViewState>(*mMainReportsState.get(), saveGamePath);
168+
newMapViewState->initialize();
169+
mNewMapViewState = std::move(newMapViewState);
170170
}
171171
catch (const std::exception& e)
172172
{

0 commit comments

Comments
 (0)