mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 12:10:30 +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.
|
||||
function define(name, options)
|
||||
expect(1, name, "string")
|
||||
expect(2, options, "table", nil)
|
||||
expect(2, options, "table", "nil")
|
||||
|
||||
if options then
|
||||
options = {
|
||||
|
Loading…
Reference in New Issue
Block a user