From 27f594070eee9cb716a14b711029c053ecee5c44 Mon Sep 17 00:00:00 2001 From: ManuelBlanc Date: Thu, 27 Dec 2018 18:31:18 +0100 Subject: [PATCH] Fix mutators test error introduced in refactor --- .../mods/vmf/modules/core/mutators/test/mutators_test.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vmf/scripts/mods/vmf/modules/core/mutators/test/mutators_test.lua b/vmf/scripts/mods/vmf/modules/core/mutators/test/mutators_test.lua index 45f73a8..ef31971 100644 --- a/vmf/scripts/mods/vmf/modules/core/mutators/test/mutators_test.lua +++ b/vmf/scripts/mods/vmf/modules/core/mutators/test/mutators_test.lua @@ -1,11 +1,11 @@ local vmf = get_mod("VMF") -local function create_test_mutator(name, mod_data) +local function create_test_mutator(mod_name, mod_data) return new_mod(mod_name, { mod_data = mod_data, mod_script = function() - local mod = get_mod(name) - local readable_name = mod_data.name or name + local mod = get_mod(mod_name) + local readable_name = mod_data.name or mod_name function mod.on_enabled(init_call) mod:echo("%s on_enabled(%s)", readable_name, init_call and "init" or "") end