mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-29 13:16:28 +00:00
1.8.0 alpha , binary , ba data
This commit is contained in:
parent
ff357460e8
commit
da52fa9050
354 changed files with 23912 additions and 4505 deletions
4
dist/ba_data/python/babase/modutils.py
vendored
4
dist/ba_data/python/babase/modutils.py
vendored
|
|
@ -2,8 +2,6 @@
|
|||
#
|
||||
"""Functionality related to modding."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
import os
|
||||
|
||||
|
|
@ -48,7 +46,7 @@ def get_human_readable_user_scripts_path() -> str:
|
|||
def _request_storage_permission() -> bool:
|
||||
"""If needed, requests storage permission from the user (& return true)."""
|
||||
from babase._language import Lstr
|
||||
from babase._mgen.enums import Permission
|
||||
from babase._generated.enums import Permission
|
||||
|
||||
if not _babase.have_permission(Permission.STORAGE):
|
||||
_babase.getsimplesound('error').play()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue