Fix gonome's player locking

This commit is contained in:
Roman Chistokhodov 2019-08-06 22:32:17 +03:00
parent acd367d7d0
commit 1db20d8a81
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ void CGonome::UnlockPlayer()
else // if ehandle is empty for some reason just unlock the first player
player = (CBasePlayer*)UTIL_FindEntityByClassname(0, "player");
if (player && player->IsAlive())
if (player)
player->EnableControl(TRUE);
m_lockedPlayer = 0;