Skip to content

Commit

Permalink
Fixed a bug causing a crash when upgrading the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Cooltomten committed Oct 1, 2023
1 parent 6c3bcd5 commit 2e46372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Volt/Sandbox/src/Sandbox/Modals/ProjectUpgradeModal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ std::pair<std::filesystem::path, Volt::AssetHandle> ProjectUpgradeModal::Deseria
streamReader.EnterScope("Metadata");

resultAssetFilePath = streamReader.ReadKey("filePath", std::string(""));
resultAssetHandle = streamReader.ReadKey("assetHandle", 0u);
resultAssetHandle = streamReader.ReadKey("assetHandle", uint64_t(0));

streamReader.ExitScope();
}
Expand Down

0 comments on commit 2e46372

Please sign in to comment.