1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 11:10:29 +00:00

Replace type check with nil check

This commit is contained in:
Lignum 2017-05-16 21:53:50 +02:00
parent eb9b7f3b8c
commit 00943163c8
No known key found for this signature in database
GPG Key ID: E4DE8F54CA0912BA

View File

@ -248,7 +248,7 @@ if settings.get( "shell.allow_disk_startup" ) then
end
end
end
if type( tUserStartups ) == "table" then
if tUserStartups then
for _,v in pairs( tUserStartups ) do
shell.run( v )
end