Update StarPortraitWidget.cpp
This commit is contained in:
parent
76a00ac5c9
commit
b2f8ac594a
@ -42,6 +42,7 @@ void PortraitWidget::renderImpl() {
|
||||
HumanoidPtr humanoid = nullptr;
|
||||
if (m_renderHumanoid) {
|
||||
if (auto player = as<Player>(m_entity))
|
||||
if (!player->isPermaDead())
|
||||
humanoid = player->humanoid();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user