1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 21:12:55 +08:00

only post mod when ingame

This commit is contained in:
cdwcgt 2022-11-27 09:41:41 +09:00
parent 8ecb4aa30b
commit 653875bbb4
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -76,6 +76,8 @@ namespace osu.Game.Online.Chat
string getModPart() string getModPart()
{ {
if (api.Activity.Value is UserActivity.InGame) return string.Empty;
if (selectedMods.Value.Count == 0) if (selectedMods.Value.Count == 0)
{ {
return string.Empty; return string.Empty;