Fix some bugs

This commit is contained in:
Jackz 2022-06-29 23:16:51 -05:00
parent e8236a4aab
commit 65d8d01927
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
4 changed files with 3 additions and 3 deletions

View file

@ -263,8 +263,6 @@ void SetPeekCamActive(int client, bool active) {
AcceptEntityInput(seekerCam, "Enable", client); // Need to always activate before deactivating to fix a semi-common bug
if(!active) {
AcceptEntityInput(seekerCam, "Disable", client);
AcceptEntityInput(seekerCam, "Kill");
seekerCam = INVALID_ENT_REFERENCE;
}
} else {
PrintToServer("WARN: SetPeekCamActive(%d, %b) when seekerCam invalid", client, active);