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:
parent
10493bd44a
commit
c9eb584ac8
4 changed files with 6 additions and 6 deletions
|
@ -251,7 +251,7 @@ bool ResourceFolderModel::update()
|
|||
return true;
|
||||
}
|
||||
|
||||
void ResourceFolderModel::resolveResource(Resource::Ptr res)
|
||||
void ResourceFolderModel::resolveResource(Resource* res)
|
||||
{
|
||||
if (!res->shouldResolve()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue