Fix LuaCheck warning (#198)

This commit is contained in:
David Leal 2023-07-17 17:10:18 -06:00 committed by GitHub
parent ee42eeee8d
commit 79a0c76d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
end
end
if fields.drop and not (type(fields.drop) == "table") then
if fields.drop and (type(fields.drop) ~= "table") then
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
end