mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 00:24:35 +00:00
Update TacoOverrides.cs
This commit is contained in:
parent
6861442f25
commit
f8c1735c61
1 changed files with 6 additions and 6 deletions
|
|
@ -212,7 +212,7 @@ function serverCmdThrow(%client, %data)
|
||||||
}
|
}
|
||||||
|
|
||||||
if(getSimTime() - %client.tossTime < 128)
|
if(getSimTime() - %client.tossTime < 128)
|
||||||
{
|
{
|
||||||
%client.tossCounter++;
|
%client.tossCounter++;
|
||||||
if(%client.tossCounter > 30)
|
if(%client.tossCounter > 30)
|
||||||
{
|
{
|
||||||
|
|
@ -242,12 +242,12 @@ function serverCmdThrow(%client, %data)
|
||||||
%client.tossLock = 1;
|
%client.tossLock = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
%client.tossCounter = 0;
|
%client.tossCounter = 0;
|
||||||
|
|
||||||
parent::serverCmdThrow(%client, %data);
|
parent::serverCmdThrow(%client, %data);
|
||||||
%client.tossTime = getSimTime();
|
%client.tossTime = getSimTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue