diff --git a/betterContracts.lua b/betterContracts.lua index d34e562..b5ad403 100644 --- a/betterContracts.lua +++ b/betterContracts.lua @@ -43,6 +43,7 @@ -- handle zombie (pallet, bigbag) vehicles when dismissing contracts -- v1.2.7.0 29.01.2023 visual tags for mission fields and vehicles. -- show leased vehicles for active contracts +-- v1.2.7.1 10.02.2023 fix mission visual tags for MP: renderIcon(). --======================================================================================================= SC = { FERTILIZER = 1, -- prices index diff --git a/modDesc.xml b/modDesc.xml index 065884c..c64482f 100644 --- a/modDesc.xml +++ b/modDesc.xml @@ -1,7 +1,7 @@  Mmtrx - 1.2.7.0 + 1.2.7.1 <en>Better Contracts</en> diff --git a/scripts/options.lua b/scripts/options.lua index 97c2f5d..2dd3b43 100644 --- a/scripts/options.lua +++ b/scripts/options.lua @@ -12,6 +12,7 @@ -- Improve reward multiplier getReward() -- v1.2.7.0 29.01.2023 visual tags for mission fields and vehicles. -- show leased vehicles for active contracts +-- v1.2.7.1 10.02.2023 fix mission visual tags for MP: renderIcon(). --======================================================================================================= --------------------- lazyNPC --------------------------------------------------------------------------- @@ -472,7 +473,7 @@ function renderIcon(self, x, y, rot) if self.field == nil or self.name == "" then return end local bc = BetterContracts - local mission = g_missionManager.fieldToMission[self.field.fieldId] + local mission = bc.fieldToMission[self.field.fieldId] if mission ~= nil then local typeName = mission.type.name -- only show if Details on and mission type not filtered off