Skip to content

Commit

Permalink
Fixes TGUI overwatch console & custom font entry ui runtimes (cmss13-…
Browse files Browse the repository at this point in the history
…devs#6370)

# About the pull request
Fixes cmss13-devs#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 and Git-Nivrak committed Jun 9, 2024
1 parent 248c5e8 commit 635c851
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 635c851

Please sign in to comment.