mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 04:30:29 +00:00
Merge pull request #848 from SkyTheCodeMaster/patch-3
Turn a nil to a string
This commit is contained in:
commit
7086cb8a02
@ -42,7 +42,7 @@ for _, v in ipairs(valid_types) do valid_types[v] = true end
|
|||||||
-- will error.
|
-- will error.
|
||||||
function define(name, options)
|
function define(name, options)
|
||||||
expect(1, name, "string")
|
expect(1, name, "string")
|
||||||
expect(2, options, "table", nil)
|
expect(2, options, "table", "nil")
|
||||||
|
|
||||||
if options then
|
if options then
|
||||||
options = {
|
options = {
|
||||||
|
Loading…
Reference in New Issue
Block a user