Chat Expired Subroom Groupchat remains in Parent Room's subRooms map

Snaquaza

KACAW
is a Battle Simulator Moderatoris a Top Community Contributor Alumnusis a Metagame Resource Contributor Alumnusis a Smogon Media Contributor Alumnus
What type of bug are you reporting? Chat

What is the bug?
Promotions (in Mafia) have been causing crashes. The promotion goes through as normal, but doesn't create a message in chat, see images.

reg->voice
MOCcjQ1.png


reg->wl

kyH0xaX.png


Are you able to replicate it? If so, how?
I replicated it today by promoting someone again - would rather not extensively test it since it seems to work fine in groupchats and otherwise it'd disturb the flow of the room.
 
An expired subroom groupchat for the mafia room was in the room's subroom map still. The crash occured because the promotion processing command was trying to apply the new rank to a room that did not exist. I've fixed this by removing the non-existent room from the subrooms list.

I'm leaving this open because this situation should not have happened.
 
Back
Top