n°1 ci hater

This commit is contained in:
3alTemp 2024-03-01 23:45:37 -06:00
parent cf78c23af9
commit 6d466ddf84
No known key found for this signature in database
GPG Key ID: FC599A8DFAEC706C
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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()