mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Add LCTF
This commit is contained in:
parent
16bdd87af1
commit
d736c3a8ff
|
|
@ -142,7 +142,7 @@ if (!isActivePackage(PizzaThings))
|
|||
|
||||
function serverCmdObserveFirstFlag(%client)
|
||||
{
|
||||
if(Game.class !$= CTFGame && Game.class !$= SCtFGame)
|
||||
if(Game.class !$= CTFGame && Game.class !$= SCtFGame && Game.class !$= LCTFGame )
|
||||
return;
|
||||
|
||||
// client must be an observer
|
||||
|
|
@ -160,7 +160,7 @@ function serverCmdObserveFirstFlag(%client)
|
|||
|
||||
function serverCmdObserveSecondFlag(%client)
|
||||
{
|
||||
if(Game.class !$= CTFGame && Game.class !$= SCtFGame)
|
||||
if(Game.class !$= CTFGame && Game.class !$= SCtFGame && Game.class !$= LCTFGame )
|
||||
return;
|
||||
|
||||
// client must be an observer
|
||||
|
|
@ -184,7 +184,7 @@ function observeFlag(%client, %target, %type, %flagTeam)
|
|||
if(!isObject(%client) || !isObject(%target) || !isObject(%client.camera))
|
||||
return;
|
||||
|
||||
if(Game.class !$= CTFGame && Game.class !$= SCtFGame)
|
||||
if(Game.class !$= CTFGame && Game.class !$= SCtFGame && Game.class !$= LCTFGame )
|
||||
return;
|
||||
|
||||
if(%client.team > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue