Skip to content

Commit

Permalink
Fix model error (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrb93 authored Feb 12, 2024
1 parent 4f2677a commit 12186a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/wire/sh_modelplug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ModelPlug = ModelPlug or {}
local list_set = list.Set

function ModelPlug.ListAddModels( listName, models, value )
value = value or true
value = value or {}
for k, v in ipairs(models) do
list_set(listName, v, value)
end
Expand Down Expand Up @@ -68,4 +68,4 @@ ModelPlug.ListAddGenerics("Wire_Socket_Models", {
},
})

hook.Run("ModelPlugLuaRefresh")
hook.Run("ModelPlugLuaRefresh")

0 comments on commit 12186a3

Please sign in to comment.