Leader2: Listen to -201 aswell because of SprayManager.

This commit is contained in:
zaCade 2022-12-04 17:23:49 +01:00
parent 2704d7a289
commit 7f96f547c9

View File

@ -655,7 +655,7 @@ public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3
{
if(client == leaderClient)
{
if(impulse == 201) //Player spray
if(impulse == 201 || impulse == -201) //Player spray & Inverse value from SprayManager
{
RemovePing3();
pingEntity3 = SpawnPing(client, 0);