mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 08:34:43 +00:00
Retain Obs Lak
This commit is contained in:
parent
916004601e
commit
66431ae773
1 changed files with 11 additions and 3 deletions
|
|
@ -909,10 +909,15 @@ function DefaultGame::missionLoadDone(%game)
|
||||||
{
|
{
|
||||||
%client = ClientGroup.getObject(%i);
|
%client = ClientGroup.getObject(%i);
|
||||||
|
|
||||||
%client.team = $NonRabbitTeam;
|
if(%client.lakobs $=1)
|
||||||
%client.lastTeam = $NonRabbitTeam;
|
%client.lakobs = 0;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
%client.team = $NonRabbitTeam;
|
||||||
|
%client.lastTeam = $NonRabbitTeam;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
parent::missionLoadDone(%game);
|
parent::missionLoadDone(%game);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2012,6 +2017,9 @@ function LakRabbitGame::gameOver(%game)
|
||||||
cancel(%client.waypointSchedule);
|
cancel(%client.waypointSchedule);
|
||||||
cancel(%client.duelTimer);
|
cancel(%client.duelTimer);
|
||||||
|
|
||||||
|
if(%client.team $=0)
|
||||||
|
%client.lakobs = 1;
|
||||||
|
|
||||||
//Put everyone in observer
|
//Put everyone in observer
|
||||||
//Mainly for switching to CTF
|
//Mainly for switching to CTF
|
||||||
%client.team = 0;
|
%client.team = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue