Skip to content

Commit

Permalink
Fixed typo in wire library
Browse files Browse the repository at this point in the history
  • Loading branch information
MechWipf committed Oct 31, 2013
1 parent 430b45b commit 0d16d49
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 0d16d49

Please sign in to comment.