Load custom map patch zones
This commit is contained in:
parent
c0013157b2
commit
50d3c94058
@ -263,6 +263,12 @@ namespace fastfiles
|
||||
|
||||
if (is_builtin_map)
|
||||
{
|
||||
const auto name_ = "h2_mod_patch_"s + name;
|
||||
if (fastfiles::exists(name_))
|
||||
{
|
||||
add_custom_level_load_zone(load, name_.data(), true, size_est);
|
||||
}
|
||||
|
||||
game::DB_LevelLoadAddZone(load, name, alloc_flags, size_est);
|
||||
}
|
||||
else
|
||||
|
@ -410,7 +410,7 @@ namespace updater
|
||||
{
|
||||
update_data.access([](update_data_t& data_)
|
||||
{
|
||||
data_.restart_required = true;//
|
||||
data_.restart_required = true;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user