Merge pull request #357 from bombsquad-community/APW_fix

fix unable to start kick vote in APW
This commit is contained in:
Loup 2025-03-26 00:36:58 +05:30 committed by GitHub
commit f4d1ba0627
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -753,6 +753,12 @@
}
],
"versions": {
"2.1.2": {
"api_version": 9,
"commit_sha": "c912759",
"released_on": "25-03-2025",
"md5sum": "1d732670a4e8b71fc0e5d9ea9b4a31b4"
},
"2.1.1": {
"api_version": 9,
"commit_sha": "a93fda3",

View file

@ -1164,7 +1164,7 @@ class ModifiedPartyWindow(bascenev1lib_party.PartyWindow):
else:
# kick-votes appeared in build 14248
info = bs.get_connection_to_host_info_2()
if bool(info) and (info.get('build_number', 0) <
if bool(info) and (info.build_number <
14248):
bui.getsound('error').play()
bs.broadcastmessage(