Skip to content

Commit 568b453

Browse files
committed
fix(ScreenText): AcceptInput for Message at deconstruct
1 parent ba74d1d commit 568b453

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/engine/vgui/screentext.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ std::vector<CEntityKeyValues*> scheduleForDelete;
1010
ScreenText::~ScreenText()
1111
{
1212
if (pScreenEntity.IsValid()) {
13-
g_entSystem.AcceptInput(pScreenEntity.Get(), "SetMessage", nullptr, nullptr, "", 0);
1413
schema::SetProp<bool>(pScreenEntity.Get(), "CPointWorldText", "m_bEnabled", false);
1514
schema::SetProp<bool>(pScreenEntity.Get(), "CPointWorldText", "m_bDrawBackground", false);
1615
}

0 commit comments

Comments
 (0)