mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
Fix gonome's player locking
This commit is contained in:
parent
acd367d7d0
commit
1db20d8a81
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user