1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-29 16:47:56 +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

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