diff options
author | WereTech <17415815+WereTech@users.noreply.github.com> | 2025-02-23 16:31:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 16:31:03 -0600 |
commit | 0245e639ecc51d948f0256eb4a773d42fbb8ade5 (patch) | |
tree | 7fc9b120efda129c09e522fc08af2d28e52d3eb6 /source/windowing/StarLargeCharPlateWidget.cpp | |
parent | 3108120076bad6b934c43526200f2beed4c96753 (diff) | |
parent | 5dda9f47306a6eea5eb4e676c68f81b8285d9dfe (diff) |
Merge branch 'OpenStarbound:main' into main
Diffstat (limited to 'source/windowing/StarLargeCharPlateWidget.cpp')
-rw-r--r-- | source/windowing/StarLargeCharPlateWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarLargeCharPlateWidget.cpp b/source/windowing/StarLargeCharPlateWidget.cpp index 5088f73..eb6c438 100644 --- a/source/windowing/StarLargeCharPlateWidget.cpp +++ b/source/windowing/StarLargeCharPlateWidget.cpp @@ -171,7 +171,7 @@ void LargeCharPlateWidget::update(float dt) { return; auto humanoid = m_player->humanoid(); - if (m_delete->isHovered()) { + if (m_delete && m_delete->isHovered()) { humanoid->setEmoteState(HumanoidEmote::Sad); humanoid->setState(Humanoid::Run); } else { |