Small code cleanup

This commit is contained in:
Wofsauge committed 2022-04-03 23:22:08 +02:00
1 parent e2133d935a
commit 8d2b86bcdf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1572,7 +1572,7 @@ end
-- Returns the quality of the described entity
function EID:getObjectQuality(descObj)
if descObj.ObjType == 5 and descObj.ObjVariant == 100 then
if REPENTANCE and descObj.ObjType == 5 and descObj.ObjVariant == 100 then
return tonumber(EID.itemConfig:GetCollectible(tonumber(descObj.ObjSubType)).Quality)
end
end