fix closest player not working for tainteds
This commit is contained in:
1 parent
470bf2e6d9
commit
9d70dd6aa8
1 file changed
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user