Fixing /e set.

This commit is contained in:
Sarah 2015-08-10 17:28:27 +02:00
parent ac5ff08fad
commit fef269b856

View File

@ -724,15 +724,15 @@ public class GameHostManager implements Listener
String source = "";
if(args.length == 5)
{
Manager.GetGameCreationManager().MapSource = args[2];
Manager.GetGameCreationManager().MapPref = args[3];
Manager.GetGameCreationManager().MapSource = args[3];
Manager.GetGameCreationManager().MapPref = args[4];
source = args[3];
map = args[4];
}
else
{
Manager.GetGameCreationManager().MapSource = args[0];
Manager.GetGameCreationManager().MapPref = args[1];
Manager.GetGameCreationManager().MapSource = args[2];
Manager.GetGameCreationManager().MapPref = args[3];
source = args[2];
map = args[3];
}