--Called when the patient sits up from a bench for whatever reason
--Maybe related to Humanoid:removedObject(object)
function Bench:removeUser(user)
if user then
local has_idle = false
for i, action in pairs(user.action_queue) do
if action.name == "idle" then
has_idle = true
end
end
-- patient must idle && action:isStanding() == true at this point
if has_idle == true then
user:notifyNewObject("bench")
end
end
return Object.removeUser(self, user)
end