Move msg_id to top of function
Move msg_id to top of function

NickVolynkin/SmokeDetector,ArtOfCode-/SmokeDetector,Charcoal-SE/SmokeDetector,ArtOfCode-/SmokeDetector,NickVolynkin/SmokeDetector,Charcoal-SE/SmokeDetector