fix: prevent deletes by shared pointer accidental creation

This fixes the launcher crashing when opening the game :iea:

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-09-16 20:00:36 -03:00
parent 10493bd44a
commit c9eb584ac8
4 changed files with 6 additions and 6 deletions

View File

@ -251,7 +251,7 @@ bool ResourceFolderModel::update()
return true;
}
void ResourceFolderModel::resolveResource(Resource::Ptr res)
void ResourceFolderModel::resolveResource(Resource* res)
{
if (!res->shouldResolve()) {
return;