mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
b3f0180463
commit
d61d420909
1 changed files with 4 additions and 2 deletions
|
|
@ -457,6 +457,7 @@ def popup_menu_selected_choice(self, window: popup.PopupMenu,
|
||||||
ba.clipboard_set_text(_party.queue)
|
ba.clipboard_set_text(_party.queue)
|
||||||
ba.playsound(ba.getsound('gunCocking'))
|
ba.playsound(ba.getsound('gunCocking'))
|
||||||
|
|
||||||
|
|
||||||
def is_game_version_lower_than(version):
|
def is_game_version_lower_than(version):
|
||||||
"""
|
"""
|
||||||
Returns a boolean value indicating whether the current game
|
Returns a boolean value indicating whether the current game
|
||||||
|
|
@ -467,6 +468,7 @@ def is_game_version_lower_than(version):
|
||||||
version = tuple(map(int, version.split(".")))
|
version = tuple(map(int, version.split(".")))
|
||||||
return game_version < version
|
return game_version < version
|
||||||
|
|
||||||
|
|
||||||
def replace():
|
def replace():
|
||||||
global ba_internal
|
global ba_internal
|
||||||
if is_game_version_lower_than("1.7.7"):
|
if is_game_version_lower_than("1.7.7"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue