the gf dies, 2 mafia members remain. how is it decided which of them becomes mafioso? are there rules or is it completely random?

only thing i can say for sure: a disguiser stays disguiser if he is the only mafia member left and if still has his disguiser kill. only after that kill he becomes mafioso.