From e8f5fc4b92fd9666150ed096560e365489edaa23 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 25 Nov 2017 00:16:52 +0100 Subject: [PATCH] compat/tauntpackloader: Fix support for third party taunt packs --- .../gamemode/compat/compat_tauntpackloader.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gamemodes/prophuntextended/gamemode/compat/compat_tauntpackloader.lua b/source/gamemodes/prophuntextended/gamemode/compat/compat_tauntpackloader.lua index 79ab521..9d0f2e2 100644 --- a/source/gamemodes/prophuntextended/gamemode/compat/compat_tauntpackloader.lua +++ b/source/gamemodes/prophuntextended/gamemode/compat/compat_tauntpackloader.lua @@ -40,7 +40,7 @@ function CompatTauntPackLoader() if (ty == "string") then Taunts[#Taunts+1] = t elseif (ty == "table") then - Taunts[#Taunts+1] = t[2] + Taunts[#Taunts+1] = t[1] -- for j,snd in ipairs(t) do -- HiderTaunts[#HiderTaunts+1] = snd -- end @@ -53,7 +53,7 @@ function CompatTauntPackLoader() if (ty == "string") then Taunts[#Taunts+1] = t elseif (ty == "table") then - Taunts[#Taunts+1] = t[2] + Taunts[#Taunts+1] = t[1] -- for j,snd in ipairs(t) do -- SeekerTaunts[#SeekerTaunts+1] = snd -- end