fix sac room 2/12 never showing

This commit is contained in:
Buurazu authored and GitHub committed 2022-03-29 00:02:23 -04:00
1 parent 35945ec112
commit f0de6e17fd
1 file changed
+2 -1
+2 -1
View File
@@ -477,7 +477,8 @@ function EID:printDescriptions(useCached)
-- Do the description entities match, and the description texts match?
for i,newDesc in ipairs(EID.descriptionsToPrint) do
local oldDesc = EID.previousDescs[i]
if newDesc.Description ~= oldDesc.Description or (newDesc.Entity and oldDesc.Entity and GetPtrHash(newDesc.Entity) ~= GetPtrHash(oldDesc.Entity)) then
if newDesc.Description ~= oldDesc.Description or newDesc.Name ~= oldDesc.Name or
(newDesc.Entity and oldDesc.Entity and GetPtrHash(newDesc.Entity) ~= GetPtrHash(oldDesc.Entity)) then
EID:printNewDescriptions()
return
end