Save settings, always show party icon

This commit is contained in:
Rikko 2022-10-04 07:12:12 +05:30
parent 5f9ac44f4e
commit 430da49b8a
2 changed files with 5 additions and 8 deletions

View file

@ -4,7 +4,7 @@
"plugins_base_url": "http://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/utilities",
"plugins": {
"mood_light": {
"description": "mood lighting in co-op games",
"description": "Dynamic lighting in co-op games (adjustable using \"cm\" chat command)",
"external_url": "",
"authors": [
{
@ -14,12 +14,7 @@
}
],
"versions": {
"1.0.0": {
"api_version": 7,
"commit_sha": "2594105",
"released_on": "30-09-2022",
"md5sum": "131585e571e9d4d60d40bbf7cbbd69e9"
}
"1.0.0": null
}
},
"colorscheme": {
@ -229,4 +224,4 @@
}
}
}
}
}

View file

@ -189,6 +189,7 @@ class SettingWindow(ba.Window):
def save_settings(self):
ba.app.config["moodlightingSettings"] = (Ldefault, Udefault)
ba.app.config.commit()
Print("settings saved")
self.close()
@ -212,6 +213,7 @@ def new_chat_message(msg: Union[str, ba.Lstr], clients: Sequence[int] = None, se
old_fcm = _ba.chatmessage
_ba.chatmessage = new_chat_message
_ba.set_party_icon_always_visible(True)
# ba_meta export plugin