Skip to content

Commit

Permalink
Invert this LUT (#3177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denneisk authored Nov 12, 2024
1 parent f73616c commit c56177b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/entities/gmod_wire_expression2/core/debug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c56177b

Please sign in to comment.