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