Fix reloading assets that failed to load
This commit is contained in:
@@ -430,7 +430,7 @@ void Asset::Reload()
|
||||
|
||||
ScopeLock lock(Locker);
|
||||
|
||||
if (IsLoaded())
|
||||
if (IsLoaded() || LastLoadFailed())
|
||||
{
|
||||
// Unload current data
|
||||
unload(true);
|
||||
|
||||
Reference in New Issue
Block a user