Skip to content

Commit 1d8dcd0

Browse files
Fixed wirelink writecell
1 parent fc94377 commit 1d8dcd0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

License.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2011, Colonel Thirty Two
1+
Copyright (c) 2011, Alex "Colonel Thirty Two" Parrill
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without
@@ -15,7 +15,7 @@ modification, are permitted provided that the following conditions are met:
1515
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1616
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1717
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18-
DISCLAIMED. IN NO EVENT SHALL Colonel Thirty Two BE LIABLE FOR ANY
18+
DISCLAIMED. IN NO EVENT SHALL ALEX PARRILL BE LIABLE FOR ANY
1919
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2020
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2121
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND

lua/starfall2/Instance.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function SF.Instance:runWithOps(func,...)
4141
self.ops = self.ops + 500
4242
if self.ops > maxops then
4343
debug.sethook(nil)
44-
error("Ops quota exceeded.",0)
44+
error("Operations quota exceeded.",0)
4545
end
4646
end
4747

lua/starfall2/Libraries.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function SF.Libraries.CreateLocalTbl(arr)
5757
end
5858

5959
--- Registers a library hook. These hooks are only available to SF libraries,
60-
-- and are called by Libraries.RunHook.
60+
-- and are called by Libraries.CallHook.
6161
-- @param hookname The name of the hook.
6262
-- @param func The function to call
6363
function SF.Libraries.AddHook(hookname, func)

lua/starfall2/libs_sv/wire.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ wirelink_metatable.__newindex = function(self,k,v)
165165
if type(k) == "number" then
166166
SF.CheckType(v,"number")
167167
if not wl.WriteCell then return end
168-
168+
else wl:WriteCell(k,v) end
169169
else
170170
local input = wl.Inputs[k]
171171
if not input or not outputConverters[input.Type] then return end

0 commit comments

Comments
 (0)