mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-27 01:13:13 +08:00
n°1 ci hater
This commit is contained in:
parent
cf78c23af9
commit
6d466ddf84
@ -832,7 +832,7 @@ class GamepadSettingsWindow(bui.Window):
|
||||
def _do_reset(self) -> None:
|
||||
"""Resets the input's mapping settings."""
|
||||
from babase import InputDeviceNotFoundError
|
||||
self._settings: dict[str, int] = {}
|
||||
self._settings = {}
|
||||
# Unplugging the controller while performing a
|
||||
# mapping reset makes things go bonkers a little.
|
||||
try:
|
||||
|
||||
@ -316,7 +316,7 @@ class ConfigKeyboardWindow(bui.Window):
|
||||
|
||||
def _do_reset(self) -> None:
|
||||
"""Resets the input's mapping settings."""
|
||||
self._settings: dict[str, int] = {}
|
||||
self._settings = {}
|
||||
self._get_config_mapping(default=True)
|
||||
self._rebuild_ui(is_reset=True)
|
||||
bui.getsound('gunCocking').play()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user