Skip to content

Commit

Permalink
Fixes TGUI overwatch console & custom font entry ui runtimes (#6370)
Browse files Browse the repository at this point in the history
# About the pull request
Fixes #6366.

# Explain why it's good for the game
bug bad

# Changelog
:cl:
fix: Fixes overwatch console coordinate comment UI crash
fix: Fixes chat UI crash after entering a custom font
/:cl:

---------

Co-authored-by: DOOM <N/A>
  • Loading branch information
vero5123 authored Jun 4, 2024
1 parent 9e504c7 commit db27824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/settings/SettingsPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const SettingsGeneral = (props) => {
<Input
width="15em"
value={fontFamily}
onChange={(value) =>
onChange={(e, value) =>
dispatch(
updateSettings({
fontFamily: value,
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/OverwatchConsole.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ const SavedCoordinates = (props) => {
<Input
width="100%"
value={coords.comment}
onChange={(value) =>
onChange={(e, value) =>
act('change_coordinate_comment', {
comment: value,
index: coords.index,
Expand Down

0 comments on commit db27824

Please sign in to comment.