[BUG T3D1.1B1] endGame calls startGame - typo? - RESOLVED
by Guy Allard · in Torque 3D Professional · 04/29/2010 (3:15 am) · 2 replies
GameDM.cs
function DeathMatchGame::endGame calls Parent::startGame instead of Parent::endGame
It then proceeds to unneccessarily [sp?] inform the clients that the game has ended, which would have happened anyway if it had called Parent::endGame
probably just a typo...
function DeathMatchGame::endGame calls Parent::startGame instead of Parent::endGame
It then proceeds to unneccessarily [sp?] inform the clients that the game has ended, which would have happened anyway if it had called Parent::endGame
function DeathMatchGame::endGame(%game)
{
//echo (%game @"c4 -> "@ %game.class @" -> DeathMatchGame::endGame");
parent::startGame(%game);
// Inform the client the game is over
for (%clientIndex = 0; %clientIndex < ClientGroup.getCount(); %clientIndex++)
{
%cl = ClientGroup.getObject(%clientIndex);
commandToClient(%cl, 'GameEnd');
}
}probably just a typo...
About the author
Full Sail QA&U Lab Intern