Another fix

This commit is contained in:
Federico Cecchetto 2022-06-28 12:57:56 +02:00
parent 68e599f134
commit b4b52bfdba

View File

@ -326,10 +326,10 @@ namespace mapents
public:
void post_unpack() override
{
scheduler::on_game_initialized([]()
scheduler::once([]()
{
addon_mapname = dvars::register_string("addon_mapname", "", 0, "");
});
}, scheduler::pipeline::main);
utils::hook::call(0x14058BDD3, db_find_xasset_header_stub);
utils::hook::call(0x14058BD6B, should_load_addon_mapents);