mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-31 11:46:58 +08:00
Merge pull request #652 from vishal332008/master
Bug Fix and Passing CI
This commit is contained in:
commit
9d173c90c9
@ -104,6 +104,19 @@ class CoopBrowserWindow(bui.Window):
|
||||
'campaignDifficulty', 'easy'
|
||||
)
|
||||
|
||||
if (
|
||||
self._campaign_difficulty == 'hard'
|
||||
and not app.classic.accounts.have_pro_options()
|
||||
):
|
||||
plus.add_v1_account_transaction(
|
||||
{
|
||||
'type': 'SET_MISC_VAL',
|
||||
'name': 'campaignDifficulty',
|
||||
'value': 'easy',
|
||||
}
|
||||
)
|
||||
self._campaign_difficulty = 'easy'
|
||||
|
||||
super().__init__(
|
||||
root_widget=bui.containerwidget(
|
||||
size=(self._width, self._height + top_extra),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user