From db0e316eabe7360c812f57a3bb2975bedac7f4a0 Mon Sep 17 00:00:00 2001 From: snalye Date: Thu, 1 Feb 2024 19:42:06 -0500 Subject: [PATCH] :bug: Fixes GetTrunkSize export --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index 51000ee92..345b132a0 100644 --- a/client/main.lua +++ b/client/main.lua @@ -177,7 +177,7 @@ end ---Checks weight and size of the vehicle trunk local function GetTrunkSize(vehicleClass) local trunkSize = Config.TrunkSpace[vehicleClass] or Config.TrunkSpace['default'] - return trunkSize[vehicleClass].maxweight, trunkSize[vehicleClass].slots + return trunkSize.maxWeight, trunkSize.slots end exports('GetTrunkSize', GetTrunkSize)