Fixed a error in CommandLogin preventing the source from compiling. Didn't notice that prior to committing the previous change set.
This commit is contained in:
parent
40b0d2be79
commit
0720393626
2 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,7 @@ namespace MudEngine.GameScripts.Commands
|
||||||
{
|
{
|
||||||
character.SendMessage("Enter your character name: ", false);
|
character.SendMessage("Enter your character name: ", false);
|
||||||
|
|
||||||
String name = String.Empty;
|
name = String.Empty;
|
||||||
Boolean isFound = false;
|
Boolean isFound = false;
|
||||||
|
|
||||||
while (String.IsNullOrEmpty(name))
|
while (String.IsNullOrEmpty(name))
|
||||||
|
|
|
@ -45,9 +45,13 @@ namespace WinPC_Server
|
||||||
Thread inputThread = new Thread(input.GetInput);
|
Thread inputThread = new Thread(input.GetInput);
|
||||||
inputThread.Start();
|
inputThread.Start();
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//Game loops until it is disabled.
|
//Game loops until it is disabled.
|
||||||
while (game.Enabled)
|
while (game.Enabled)
|
||||||
{
|
{
|
||||||
|
//Only Game World components are updated.
|
||||||
|
//All Players are updated independently of this
|
||||||
|
//on their own Threads.
|
||||||
game.Update();
|
game.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue