Mark invite list dirty only on add

Move `m_list_dirty = true` inside the successful insert path in `add_game_invite`, so the friends invite overlay only refreshes when a new invite is actually added instead of on duplicate/no-op updates.
This commit is contained in:
primetime43 authored and Megamouse committed 2026-07-29 19:10:39 +02:00
1 parent 709016a3ab
commit 884652109c
1 file changed
+1 -2
@@ -530,9 +530,8 @@ namespace rsx
}))
{
m_game_invite_messages.emplace_back(message_id, message);
m_list_dirty = true;
}
m_list_dirty = true;
}
void friends_list_dialog::remove_game_invite(u64 message_id)