Small fix
This commit is contained in:
parent
99b3831dd8
commit
19c3219f96
@ -228,16 +228,18 @@ namespace fastfiles
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
||||
if (name.ends_with(".ff"))
|
||||
auto handle = sys_createfile_hook.invoke<HANDLE>(folder, base_filename);
|
||||
if (handle != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
const auto handle = find_fastfile(name, true);
|
||||
if (handle != INVALID_HANDLE_VALUE)
|
||||
{
|
||||
return handle;
|
||||
}
|
||||
return handle;
|
||||
}
|
||||
|
||||
return sys_createfile_hook.invoke<HANDLE>(folder, base_filename);
|
||||
if (name.ends_with(".ff"))
|
||||
{
|
||||
handle = find_fastfile(name, true);
|
||||
}
|
||||
|
||||
return handle;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
@ -328,7 +328,7 @@ namespace updater
|
||||
{
|
||||
return update_data.access<bool>([](update_data_t& data_)
|
||||
{
|
||||
return data_.check.done;
|
||||
return data_.check.done && game::Sys_IsDatabaseReady2();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user