mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-29 15:35:24 +00:00
Added Line 121
No observer bypass of respawn timer
This commit is contained in:
parent
6a77d9a5d8
commit
8bcb0b64a2
1 changed files with 27 additions and 24 deletions
|
|
@ -117,6 +117,8 @@ function Observer::onTrigger(%data,%obj,%trigger,%state)
|
||||||
case "observerFly":
|
case "observerFly":
|
||||||
// Free-flying observer camera
|
// Free-flying observer camera
|
||||||
if (%trigger == 0)
|
if (%trigger == 0)
|
||||||
|
{
|
||||||
|
if(!%client.waitRespawn && getSimTime() > %client.suicideRespawnTime)
|
||||||
{
|
{
|
||||||
if( !$Host::TournamentMode && $MatchStarted )
|
if( !$Host::TournamentMode && $MatchStarted )
|
||||||
{
|
{
|
||||||
|
|
@ -152,6 +154,7 @@ function Observer::onTrigger(%data,%obj,%trigger,%state)
|
||||||
%client.setControlObject( %client.camera );
|
%client.setControlObject( %client.camera );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (%trigger == 3) //press JET
|
else if (%trigger == 3) //press JET
|
||||||
{
|
{
|
||||||
%markerObj = Game.pickObserverSpawn(%client, true);
|
%markerObj = Game.pickObserverSpawn(%client, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue