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:
parent
8ecb4aa30b
commit
653875bbb4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user