fix closest player not working for tainteds

This commit is contained in:
Buurazu authored and GitHub committed 2024-09-11 11:18:02 -04:00
1 parent 470bf2e6d9
commit 9d70dd6aa8
1 file changed
+1
+1
View File
@@ -259,6 +259,7 @@ end
-- For adding a conditional that only displays when the closest player to the pedestal is the right character
function EID:AddClosestPlayerConditional(IDs, charIDs, modText, extraTable, includeTainted)
if includeTainted == nil then includeTainted = true end
EID:AddPlayerConditional(IDs, charIDs, function() return EID:ClosestCharCheck(modText, charIDs, includeTainted) end, extraTable, includeTainted)
end