Merge pull request #2919 from lewri/let_handymen_work

Restore handyman cleaning abilities
This commit is contained in:
Stephen E. Baker
2025-06-17 20:39:50 -04:00
committed by GitHub

View File

@@ -518,8 +518,10 @@ function PlayerHospital:onEndDay()
end
end
-- Look for work for staff who have nothing to do
for _, staff in ipairs(self.staff) do
if staff:isIdle() then
-- Handymen currently have their own method to look for work
if staff.humanoid_class ~= "Handyman" and staff:isIdle() then
self.world.dispatcher:answerCall(staff)
end
end