From da028f03b3120a50de5e93bf1d4bc9a07fe9d3f8 Mon Sep 17 00:00:00 2001 From: Quentin Date: Mon, 23 Oct 2023 20:56:13 +0200 Subject: [PATCH] fix(vehicle fix all): fix incorrectly fixing everyone vehicles instead of only the targeted one (#2332) --- src/backend/looped/player/good_options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/looped/player/good_options.cpp b/src/backend/looped/player/good_options.cpp index 8ad46c1a..b0f6e8ff 100644 --- a/src/backend/looped/player/good_options.cpp +++ b/src/backend/looped/player/good_options.cpp @@ -70,7 +70,7 @@ namespace big { g_player_service->iterate([](const player_entry& entry) { if (entry.second->fix_vehicle) - g_pointers->m_gta.m_give_pickup_rewards(-1, REWARD_VEHICLE_FIX); + g_pointers->m_gta.m_give_pickup_rewards(1 << entry.second->id(), REWARD_VEHICLE_FIX); }); } }