From 5cfed4a167cdc5eae2c090b4c285116089341bd5 Mon Sep 17 00:00:00 2001 From: MrSol0 <35892335+MrSol0@users.noreply.github.com> Date: Sun, 16 Apr 2023 20:07:13 +0100 Subject: [PATCH] Fix issue with ammo_s.lua Because **ammunition** is local in ammo_g it conflicts with ammo_s.lua:12, this should fix it --- mods/deathmatch/resources/weapon/ammo_g.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/deathmatch/resources/weapon/ammo_g.lua b/mods/deathmatch/resources/weapon/ammo_g.lua index 8a357ff4..531d4386 100644 --- a/mods/deathmatch/resources/weapon/ammo_g.lua +++ b/mods/deathmatch/resources/weapon/ammo_g.lua @@ -7,7 +7,7 @@ * *********************************************************************************************************************** ]] -local ammunition = { +ammunition = { [1] = { id = 1, cartridge = '9mm', @@ -139,4 +139,4 @@ function formatWeaponNames(weapons) buffer = buffer..getWeaponNameFromID(weap_id)..', ' end return string.sub(buffer, 1, string.len(buffer)-2) -end \ No newline at end of file +end