mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Made Gamemode Override
Safer
This commit is contained in:
parent
986f175c88
commit
05e9da0c18
1 changed files with 11 additions and 11 deletions
|
|
@ -917,8 +917,10 @@ function Player::setKnockback(%this, %val)
|
||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
//Put everyone on NonRabbit Team
|
//Put everyone on NonRabbit Team
|
||||||
function DefaultGame::missionLoadDone(%game)
|
function LakRabbitGame::missionLoadDone(%game)
|
||||||
{
|
{
|
||||||
for(%i = 0; %i < ClientGroup.getCount(); %i++)
|
for(%i = 0; %i < ClientGroup.getCount(); %i++)
|
||||||
{
|
{
|
||||||
|
|
@ -936,8 +938,6 @@ function DefaultGame::missionLoadDone(%game)
|
||||||
parent::missionLoadDone(%game);
|
parent::missionLoadDone(%game);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
// Added
|
// Added
|
||||||
function LakRabbitGame::AIInit(%game)
|
function LakRabbitGame::AIInit(%game)
|
||||||
{
|
{
|
||||||
|
|
@ -2032,11 +2032,11 @@ function LakRabbitGame::gameOver(%game)
|
||||||
cancel(%client.waypointSchedule);
|
cancel(%client.waypointSchedule);
|
||||||
cancel(%client.duelTimer);
|
cancel(%client.duelTimer);
|
||||||
|
|
||||||
|
//Put everyone in observer
|
||||||
|
//Mainly for switching to CTF
|
||||||
if(%client.team $=0)
|
if(%client.team $=0)
|
||||||
%client.lakobs = 1;
|
%client.lakobs = 1;
|
||||||
|
|
||||||
//Put everyone in observer
|
|
||||||
//Mainly for switching to CTF
|
|
||||||
%client.team = 0;
|
%client.team = 0;
|
||||||
%client.lastTeam = 0;
|
%client.lastTeam = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue