mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-06 13:10:21 +00:00
Formatting
This commit is contained in:
parent
4340e88211
commit
d2c74f5164
1 changed files with 4 additions and 4 deletions
|
|
@ -7,16 +7,16 @@ package ObserverTimeout
|
|||
|
||||
function serverCmdClientMakeObserver( %client )
|
||||
{
|
||||
//10 second cooldown on becoming an observer
|
||||
if( !%client.MakeObserverTimeout )
|
||||
{
|
||||
//10 second cooldown on becoming an observer
|
||||
if( !%client.MakeObserverTimeout )
|
||||
{
|
||||
if ( isObject( Game ) && Game.kickClient != %client )
|
||||
Game.forceObserver( %client, "playerChoose" );
|
||||
|
||||
%client.MakeObserverTimeout = true;
|
||||
%client.ObserverProtectStart = getSimTime();
|
||||
schedule(10000, 0, "ResetMakeObserverTimeout", %client );
|
||||
}
|
||||
}
|
||||
//5 second cooldown on the notification
|
||||
else if( !%client.ObserverCooldownMsgPlayed )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue