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:
parent
eb9b7f3b8c
commit
00943163c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user