codestyle update

This commit is contained in:
Mestima 2021-10-05 05:10:14 +03:00
parent 7a81536e89
commit 2a952328f5
No known key found for this signature in database
GPG Key ID: 30B59EB1D7F18807

View File

@ -32,7 +32,7 @@ end
for k, v in pairs(params) do
containers.MAXITEMSLOTS = math.max(containers.MAXITEMSLOTS, v.widget.slotpos and #v.widget.slotpos or 0)
containers.MAXITEMSLOTS = math.max(containers.MAXITEMSLOTS, v.widget.slotpos ~= nil and #v.widget.slotpos or 0)
end