MudEngine:
- Reverted Server code back to using player arrays rather than List<> so that the server will actually start and run again.
This commit is contained in:
parent
9b023a2092
commit
2152a139b0
5 changed files with 10 additions and 15 deletions
|
@ -25,7 +25,7 @@ namespace MudEngine.Commands
|
|||
{
|
||||
if (player.Role == SecurityRoles.Admin)
|
||||
{
|
||||
for (int i = 0; i < player.ActiveGame.PlayerCollection.Count/*Length*/; i++)
|
||||
for (int i = 0; i < player.ActiveGame.PlayerCollection.Length; i++)
|
||||
player.ActiveGame.PlayerCollection[i].Save(player.ActiveGame.PlayerCollection[i].Name + ".dat");
|
||||
player.ActiveGame.Server.EndServer();
|
||||
player.ActiveGame.Server.Initialize(555, ref player.ActiveGame.PlayerCollection);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue