mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 00:30:22 +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'
|
'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__(
|
super().__init__(
|
||||||
root_widget=bui.containerwidget(
|
root_widget=bui.containerwidget(
|
||||||
size=(self._width, self._height + top_extra),
|
size=(self._width, self._height + top_extra),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user