Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-02-23 06:19:13 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2025-02-23 06:19:13 +1100
commit61cefb79a1fb5ccf0be73aff23af5a6e79ad79c4 (patch)
tree80a4da5755e0f2c9d1ddad5e81ce8e35e82122f5 /source/windowing
parentd0b15c335d9bf8b915e82d230a757671180bf80a (diff)
remove unusable buttons, make configurable and draggable
[skip ci]
Diffstat (limited to 'source/windowing')
-rw-r--r--source/windowing/StarLargeCharPlateWidget.cpp2
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 {