Since HG asked:
var/mob/M = loc
if(M)
    M.update_inv_w_uniform()