mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-13 11:40:29 +00:00
Replace type check with nil check
This commit is contained in:
parent
eb9b7f3b8c
commit
00943163c8
@ -248,7 +248,7 @@ if settings.get( "shell.allow_disk_startup" ) then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if type( tUserStartups ) == "table" then
|
if tUserStartups then
|
||||||
for _,v in pairs( tUserStartups ) do
|
for _,v in pairs( tUserStartups ) do
|
||||||
shell.run( v )
|
shell.run( v )
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user