mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-09 15:33:20 +00:00
Fix some bugs
This commit is contained in:
parent
e8236a4aab
commit
65d8d01927
4 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue