From c56177b19ebab5ae7b49942d3303bf29708a9d16 Mon Sep 17 00:00:00 2001 From: Denneisk <20892685+Denneisk@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:10:27 +0000 Subject: [PATCH] Invert this LUT (#3177) --- lua/entities/gmod_wire_expression2/core/debug.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/entities/gmod_wire_expression2/core/debug.lua b/lua/entities/gmod_wire_expression2/core/debug.lua index 8b99d1f41f..77a55a082d 100644 --- a/lua/entities/gmod_wire_expression2/core/debug.lua +++ b/lua/entities/gmod_wire_expression2/core/debug.lua @@ -198,12 +198,12 @@ end --[[******************************************************************************]] local valid_print_types = { - HUD_PRINTNOTIFY = HUD_PRINTNOTIFY, - HUD_PRINTCONSOLE = HUD_PRINTCONSOLE, - HUD_PRINTTALK = HUD_PRINTTALK, - HUD_PRINTCENTER = HUD_PRINTCENTER + [HUD_PRINTNOTIFY] = "HUD_PRINTNOTIFY", + [HUD_PRINTCONSOLE] = "HUD_PRINTCONSOLE", + [HUD_PRINTTALK] = "HUD_PRINTTALK", + [HUD_PRINTCENTER] = "HUD_PRINTCENTER" } -for name, value in pairs(valid_print_types) do +for value, name in pairs(valid_print_types) do E2Lib.registerConstant(name, value) end