diff --git a/src/client/component/party.cpp b/src/client/component/party.cpp index 55baa1ec..3a337c05 100644 --- a/src/client/component/party.cpp +++ b/src/client/component/party.cpp @@ -189,7 +189,7 @@ namespace party //const auto xuid = strtoull(info.get("xuid").data(), nullptr, 16); scheduler::once([=] - { + { const auto usermap_id = workshop::get_usermap_publisher_id(mapname); if (workshop::check_valid_usermap_id(mapname, usermap_id) && diff --git a/src/client/component/workshop.cpp b/src/client/component/workshop.cpp index 842a76f8..74a8cf7b 100644 --- a/src/client/component/workshop.cpp +++ b/src/client/component/workshop.cpp @@ -85,9 +85,9 @@ namespace workshop item.publisherIdInteger = std::stoul(item.publisherId); } - void load_usermap_content_stub(void* usermapsCount, int type) + void load_usermap_content_stub(void* usermaps_count, int type) { - utils::hook::invoke(game::select(0x1420D6430, 0x1404E2360), usermapsCount, type); + utils::hook::invoke(game::select(0x1420D6430, 0x1404E2360), usermaps_count, type); for (unsigned int i = 0; i < *game::usermapsCount; ++i) { @@ -103,9 +103,9 @@ namespace workshop } } - void load_mod_content_stub(void* modsCount, int type) + void load_mod_content_stub(void* mods_count, int type) { - utils::hook::invoke(game::select(0x1420D6430, 0x1404E2360), modsCount, type); + utils::hook::invoke(game::select(0x1420D6430, 0x1404E2360), mods_count, type); for (unsigned int i = 0; i < *game::modsCount; ++i) {