mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-27 15:29:12 +00:00
Lak>>CTF Team Bug
This commit is contained in:
parent
d5627c193e
commit
56d366eee5
1 changed files with 6 additions and 4 deletions
|
|
@ -2018,11 +2018,7 @@ function LakRabbitGame::gameOver(%game)
|
||||||
//call the default
|
//call the default
|
||||||
DefaultGame::gameOver(%game);
|
DefaultGame::gameOver(%game);
|
||||||
|
|
||||||
//send the message
|
|
||||||
messageAll('MsgGameOver', "Match has ended.~wvoice/announcer/ann.gameover.wav" );
|
|
||||||
|
|
||||||
cancel(%game.rabbitWaypointThread);
|
cancel(%game.rabbitWaypointThread);
|
||||||
messageAll('MsgClearObjHud', "");
|
|
||||||
for(%i = 0; %i < ClientGroup.getCount(); %i++)
|
for(%i = 0; %i < ClientGroup.getCount(); %i++)
|
||||||
{
|
{
|
||||||
%client = ClientGroup.getObject(%i);
|
%client = ClientGroup.getObject(%i);
|
||||||
|
|
@ -2039,6 +2035,12 @@ function LakRabbitGame::gameOver(%game)
|
||||||
|
|
||||||
%client.team = 0;
|
%client.team = 0;
|
||||||
%client.lastTeam = 0;
|
%client.lastTeam = 0;
|
||||||
|
|
||||||
|
//send the message
|
||||||
|
messageClient(%client, 'MsgGameOver', "Match has ended.~wvoice/announcer/ann.gameover.wav" );
|
||||||
|
messageClient(%client, 'MsgClearObjHud', "");
|
||||||
|
|
||||||
|
messageClient(%client, 'MsgClientJoinTeam', "", %client.name, %game.getTeamName(0), %client, %client.team );
|
||||||
}
|
}
|
||||||
|
|
||||||
// ilys -- cancel waypoint if not showing flag icon
|
// ilys -- cancel waypoint if not showing flag icon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue