Skip to content

Commit

Permalink
Merge pull request #70 from MechWipf/hotfix
Browse files Browse the repository at this point in the history
Fixed typo in wire library
  • Loading branch information
Xandaros committed Nov 1, 2013
2 parents 430b45b + 0d16d49 commit 32109c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/starfall/libs_sv/wire.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ wirelink_metatable.__index = function(self,k)
if not wl or not wl:IsValid() or not wl.extended then return end -- TODO: What is wl.extended?

if type(k) == "number" then
return wl.ReadCell and wl.ReadCell(k) or nil
return wl.ReadCell and wl:ReadCell(k) or nil
else
local output = wl.Outputs and wl.Outputs[k]
if not output or not inputConverters[output.Type] then return end
Expand Down

0 comments on commit 32109c7

Please sign in to comment.