mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Update ObserverCooldown.cs
This commit is contained in:
parent
e407865fe0
commit
525f431ce6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ package ObserverTimeout
|
||||||
function serverCmdClientMakeObserver( %client )
|
function serverCmdClientMakeObserver( %client )
|
||||||
{
|
{
|
||||||
//10 second cooldown on becoming an observer
|
//10 second cooldown on becoming an observer
|
||||||
if( !%client.MakeObserverTimeout )
|
if( !%client.MakeObserverTimeout || %client.isAdmin )
|
||||||
{
|
{
|
||||||
if ( isObject( Game ) && Game.kickClient != %client )
|
if ( isObject( Game ) && Game.kickClient != %client )
|
||||||
Game.forceObserver( %client, "playerChoose" );
|
Game.forceObserver( %client, "playerChoose" );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue